Author: pschweitzer
Date: Sat May 16 10:10:02 2015
New Revision: 67761
URL:
http://svn.reactos.org/svn/reactos?rev=67761&view=rev
Log:
[REGEDIT]
No va_list init is required
Modified:
trunk/reactos/base/applications/regedit/error.c
Modified: trunk/reactos/base/applications/regedit/error.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/…
==============================================================================
--- trunk/reactos/base/applications/regedit/error.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/regedit/error.c [iso-8859-1] Sat May 16 10:10:02 2015
@@ -26,8 +26,8 @@
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 iRet = 0;
LPWSTR lpMsgBuf = NULL;
+ va_list args;
- va_list args = NULL;
va_start(args, lpMessage);
if (lpMessage)