Paul Vriens : setupapi/tests: Remove a duplicate function call.

Alexandre Julliard julliard at winehq.org
Wed May 21 16:31:56 CDT 2008


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Wed May 21 16:45:50 2008 +0200

setupapi/tests: Remove a duplicate function call.

---

 dlls/setupapi/tests/devinst.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c
index f64d9b4..822cd28 100644
--- a/dlls/setupapi/tests/devinst.c
+++ b/dlls/setupapi/tests/devinst.c
@@ -492,7 +492,6 @@ static void testRegisterDeviceInfo(void)
     ret = pSetupDiRegisterDeviceInfo(NULL, NULL, 0, NULL, NULL, NULL);
     ok(!ret && GetLastError() == ERROR_INVALID_HANDLE,
      "Expected ERROR_INVALID_HANDLE, got %d\n", GetLastError());
-    ret = pSetupDiRegisterDeviceInfo(NULL, NULL, 0, NULL, NULL, NULL);
     set = pSetupDiCreateDeviceInfoList(&guid, NULL);
     ok(set != NULL, "SetupDiCreateDeviceInfoList failed: %d\n", GetLastError());
     if (set)




More information about the wine-cvs mailing list