Commit 40499c90 authored by Anthony Loiseau's avatar Anthony Loiseau Committed by Rémi Denis-Courmont

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: 's avatarRémi Duraffort <ivoire@videolan.org>
parent 52c560f4
......@@ -134,7 +134,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