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:
parent
141a98931e
commit
33d74e223b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user