kernel32: quiet a noisy FIXME (try 2)

Austin English austinenglish at gmail.com
Mon Jan 27 17:57:59 CST 2014


Try 2: without extraneous changes

-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140127/0c490a03/attachment.html>
-------------- next part --------------
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index d42d120..ca21e09 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -3849,7 +3849,8 @@ HRESULT WINAPI RegisterApplicationRestart(PCWSTR pwzCommandLine, DWORD dwFlags)
  */
 DWORD WINAPI WTSGetActiveConsoleSessionId(void)
 {
-    FIXME("stub\n");
+    static int once;
+    if (!once++) FIXME("stub\n");
     return 0;
 }
 


More information about the wine-patches mailing list