Author: spetreolle
Date: Sat May 23 14:17:24 2009
New Revision: 41058
URL:
http://svn.reactos.org/svn/reactos?rev=41058&view=rev
Log:
LayoutFile directive for additional system-supplied INF files is optional,
don't fail if it is not found.
Fixes 2 tests in setupapi:devclass
Modified:
trunk/reactos/dll/win32/setupapi/devclass.c
Modified: trunk/reactos/dll/win32/setupapi/devclass.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/devclas…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/devclass.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/devclass.c [iso-8859-1] Sat May 23 14:17:24 2009
@@ -822,9 +822,7 @@
goto cleanup;
/* Try to append a layout file */
- ret = SetupOpenAppendInfFileW(NULL, hInf, NULL);
- if (!ret)
- goto cleanup;
+ SetupOpenAppendInfFileW(NULL, hInf, NULL);
if (InterfaceClassGuid)
{