mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
Silence debug messages.
Check for Expanded==NULL is useless, because it's done in HeapFree (thx hpoussin). svn path=/trunk/; revision=22713
This commit is contained in:
parent
df5296300e
commit
e6a334b469
2 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,7 @@ BOOL LoadLogFile(HKEY hKey, WCHAR *LogName)
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
HeapFree(MyHeap, 0, Buf);
|
HeapFree(MyHeap, 0, Buf);
|
||||||
if(Expanded) HeapFree(MyHeap, 0, Expanded);
|
HeapFree(MyHeap, 0, Expanded);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#ifndef __EVENTLOG_H__
|
#ifndef __EVENTLOG_H__
|
||||||
#define __EVENTLOG_H__
|
#define __EVENTLOG_H__
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue