Correct va_end usage.
Thanks to: Sean McNeil MFC after: 3 days
This commit is contained in:
parent
db9e0127da
commit
20192d1959
@ -63,6 +63,9 @@ version_etc_va (FILE *stream,
|
||||
n_authors = 0;
|
||||
while (va_arg (tmp_authors, const char *) != NULL)
|
||||
++n_authors;
|
||||
#ifdef va_copy
|
||||
va_end (tmp_authors);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (command_name)
|
||||
|
Loading…
Reference in New Issue
Block a user