ntdll: Remove superfluous "not NULL" check for the count arg.
Michael Stefaniuc
mstefani at redhat.de
Tue May 18 17:50:08 CDT 2010
Found by coccicheck.
---
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 );
--
1.7.1
More information about the wine-patches
mailing list