Author: tretiakov
Date: Fri Jun 30 19:07:23 2006
New Revision: 22713
URL:
http://svn.reactos.org/svn/reactos?rev=22713&view=rev
Log:
Silence debug messages.
Check for Expanded==NULL is useless, because it's done in HeapFree (thx hpoussin).
Modified:
trunk/reactos/base/services/eventlog/eventlog.c
trunk/reactos/base/services/eventlog/eventlog.h
Modified: trunk/reactos/base/services/eventlog/eventlog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/eve…
==============================================================================
--- trunk/reactos/base/services/eventlog/eventlog.c (original)
+++ trunk/reactos/base/services/eventlog/eventlog.c Fri Jun 30 19:07:23 2006
@@ -121,7 +121,7 @@
cleanup:
HeapFree(MyHeap, 0, Buf);
- if(Expanded) HeapFree(MyHeap, 0, Expanded);
+ HeapFree(MyHeap, 0, Expanded);
return ret;
}
Modified: trunk/reactos/base/services/eventlog/eventlog.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/eve…
==============================================================================
--- trunk/reactos/base/services/eventlog/eventlog.h (original)
+++ trunk/reactos/base/services/eventlog/eventlog.h Fri Jun 30 19:07:23 2006
@@ -10,6 +10,7 @@
#ifndef __EVENTLOG_H__
#define __EVENTLOG_H__
+#define NDEBUG
#define WIN32_NO_STATUS
#include <windows.h>