[ros-dev] [ros-diffs] [cwittich] 31978: remove statement with no effect

Alex Ionescu ionucu at videotron.ca
Fri Jan 25 03:33:39 CET 2008


Um, this statement is useful. Try to understand compiler warnings, not  
just obey them :)

On 24-Jan-08, at 3:47 PM, cwittich at 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/local.c?rev=31978&r1=31977&r2=31978&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- 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);
> }
>
>
>





More information about the Ros-dev mailing list