mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[REGEDIT]
No va_list init is required svn path=/trunk/; revision=67761
This commit is contained in:
parent
b2c0d6a7f3
commit
f7719d6aff
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ int ErrorMessageBox(HWND hWnd, LPCWSTR lpTitle, DWORD dwErrorCode, ...)
|
|||
int iRet = 0;
|
||||
LPWSTR lpMsgBuf = NULL;
|
||||
DWORD Status = 0;
|
||||
va_list args;
|
||||
|
||||
va_list args = NULL;
|
||||
va_start(args, dwErrorCode);
|
||||
|
||||
Status = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
|
||||
|
@ -52,8 +52,8 @@ int InfoMessageBox(HWND hWnd, UINT uType, LPCWSTR lpTitle, LPCWSTR lpMessage, ..
|
|||
{
|
||||
int iRet = 0;
|
||||
LPWSTR lpMsgBuf = NULL;
|
||||
va_list args;
|
||||
|
||||
va_list args = NULL;
|
||||
va_start(args, lpMessage);
|
||||
|
||||
if (lpMessage)
|
||||
|
|
Loading…
Reference in a new issue