[vlc-commits] help: fix variable shadowing
Rémi Denis-Courmont
git at videolan.org
Wed Aug 13 20:29:13 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 13 21:09:12 2014 +0300| [d4f50290a71b6604624913c388bd6b205c110810] | committer: Rémi Denis-Courmont
help: fix variable shadowing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4f50290a71b6604624913c388bd6b205c110810
---
src/config/help.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/config/help.c b/src/config/help.c
index 4756f70..6baf594 100644
--- a/src/config/help.c
+++ b/src/config/help.c
@@ -573,9 +573,9 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
module_gettext(m, m->psz_help));
/* Print module options */
- for (size_t i = 0; i < m->confsize; i++)
+ for (size_t j = 0; j < m->confsize; j++)
{
- const module_config_t *item = m->p_config + i;
+ const module_config_t *item = m->p_config + j;
if (item->b_removed)
continue; /* Skip removed options */
More information about the vlc-commits
mailing list