setupapi: Print a fixme if a reboot was requested

André Hentschel nerv at dawncrow.de
Tue Jun 28 16:09:38 CDT 2011


for http://www.winehq.org/pipermail/wine-devel/2011-June/090682.html -Wunused-but-set-variable
---
 dlls/setupapi/install.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 8f52a58..143e3c4 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -1180,6 +1180,8 @@ void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, LPCWSTR cmdline, I
     *s++ = 0;
     while (*s == ' ') s++;
     mode = atoiW( s );
+    if (mode > 128) /* FIXME: unnamed constant */
+        FIXME("Automatic reboot not implemented yet: %u\n", mode);
 
     /* quoted paths are not allowed on native, the rest of the command line is taken as the path */
     if (!(s = strchrW( s, ' ' ))) return;
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list