Merge pull request #7 from chipitsine/master

fix cppcheck warning
pull/10/head
Samuli Seppänen 2015-12-15 19:22:18 +02:00
commit 31f2e3d506
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;
}