Michael Stefaniuc : ntdll: Remove superfluous "not NULL" check for the count arg.

Alexandre Julliard julliard at winehq.org
Wed May 19 10:34:14 CDT 2010


Module: wine
Branch: master
Commit: aef5374c8bd43ebcd0dda2438fcd3bc6f4090429
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aef5374c8bd43ebcd0dda2438fcd3bc6f4090429

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed May 19 00:50:08 2010 +0200

ntdll: Remove superfluous "not NULL" check for the count arg.

---

 dlls/ntdll/virtual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
index 6fedbf3..a9e25c8 100644
--- a/dlls/ntdll/virtual.c
+++ b/dlls/ntdll/virtual.c
@@ -2630,7 +2630,7 @@ NTSTATUS WINAPI NtGetWriteWatch( HANDLE process, ULONG flags, PVOID base, SIZE_T
     if (!addresses) return STATUS_ACCESS_VIOLATION;
 
     TRACE( "%p %x %p-%p %p %lu\n", process, flags, base, (char *)base + size,
-           addresses, count ? *count : 0 );
+           addresses, *count );
 
     server_enter_uninterrupted_section( &csVirtual, &sigset );
 




More information about the wine-cvs mailing list