Commit dae373f7 authored by Anthony Loiseau's avatar Anthony Loiseau Committed by Rémi Duraffort

mozilla: fix stop condition of a for iteration

When second argument of a for statement is a sequence,
firsts expressions are evaluated as void with no usage
of their return value.
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
(cherry picked from commit 16bc4dd9)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 989bb78e
......@@ -133,7 +133,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
const char *progid = NULL;
/* parse plugin arguments */
for( int i = 0; i < argc , ppsz_argc < 32; i++ )
for( int i = 0; (i < argc) && (ppsz_argc < 32); i++ )
{
/* fprintf(stderr, "argn=%s, argv=%s\n", argn[i], argv[i]); */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment