ntdll/tests: remove a dead assignment (LLVM/Clang)

Austin English austinenglish at gmail.com
Mon Jul 25 20:54:31 CDT 2011


The other uses of NtClose aren't checked either...

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index ac4ff19..aec869e 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -902,7 +902,7 @@ static void nt_mailslot_test(void)
         "rc = %x not STATUS_SUCCESS or STATUS_INVALID_PARAMETER\n", rc);
     ok( hslot != 0, "Handle is invalid\n");
 
-    if  ( rc == STATUS_SUCCESS ) rc = pNtClose(hslot);
+    if  ( rc == STATUS_SUCCESS ) pNtClose(hslot);
 
     /*
      * Test that the length field is checked properly


More information about the wine-patches mailing list