cppcheck: va_list 'args' used before va_start() was called

Remove extra va_end on args in loop since it'll be called when breaking
This commit is contained in:
Julien Nabet 2017-05-14 13:58:32 +02:00
parent 141a98931e
commit 33d74e223b

View File

@ -31,9 +31,6 @@ int mp_init_multi(mp_int *mp, ...)
*/
va_list clean_args;
/* end the current list */
va_end(args);
/* now start cleaning up */
cur_arg = mp;
va_start(clean_args, mp);