Um, this statement is useful. Try to understand compiler warnings, not
just obey them :)
On 24-Jan-08, at 3:47 PM, cwittich(a)svn.reactos.org wrote:
Author: cwittich
Date: Thu Jan 24 23:47:56 2008
New Revision: 31978
URL:
http://svn.reactos.org/svn/reactos?rev=31978&view=rev
Log:
remove statement with no effect
Modified:
trunk/reactos/dll/win32/kernel32/mem/local.c
Modified: trunk/reactos/dll/win32/kernel32/mem/local.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/mem/loc…
=
=
=
=
=
=
=
=
======================================================================
--- trunk/reactos/dll/win32/kernel32/mem/local.c (original)
+++ trunk/reactos/dll/win32/kernel32/mem/local.c Thu Jan 24 23:47:56
2008
@@ -254,8 +254,6 @@
NTAPI
LocalLock(HLOCAL hMem)
{
- /* This is the same as a GlobalLock, assuming these never
change */
- ASSERT(LMEM_LOCKCOUNT == GMEM_LOCKCOUNT);
return GlobalLock(hMem);
}