LayoutFile directive for additional system-supplied INF files is optional,
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 23 May 2009 10:17:24 +0000 (10:17 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 23 May 2009 10:17:24 +0000 (10:17 +0000)
don't fail if it is not found.
Fixes 2 tests in setupapi:devclass

svn path=/trunk/; revision=41058

reactos/dll/win32/setupapi/devclass.c

index 9fb62bf..f636e66 100644 (file)
@@ -822,9 +822,7 @@ SetupDiInstallClassExW(
             goto cleanup;
 
         /* Try to append a layout file */
-        ret = SetupOpenAppendInfFileW(NULL, hInf, NULL);
-        if (!ret)
-            goto cleanup;
+        SetupOpenAppendInfFileW(NULL, hInf, NULL);
 
         if (InterfaceClassGuid)
         {