$ cppcheck .
Checking localization.c...
[localization.c:224]: (error) va_list 'args' was opened but not closed by va_end().
pull/7/head
Ilya Shipitsin 2015-12-15 18:15:42 +05:00
parent 88c6e9f927
commit bc94c7e951
1 changed files with 2 additions and 1 deletions

View File

@ -221,8 +221,9 @@ ShowLocalizedMsgEx(const UINT type, LPCTSTR caption, const UINT stringId, ...)
{
va_list args;
va_start(args, stringId);
return __ShowLocalizedMsgEx(type, caption, stringId, args);
int result = __ShowLocalizedMsgEx(type, caption, stringId, args);
va_end(args);
return result;
}