Louis Lenders : Quiet two noisy FIXME's.

Alexandre Julliard julliard at winehq.org
Fri Mar 26 12:11:51 CDT 2010


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

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri Mar 26 10:33:21 2010 +0100

Quiet two noisy FIXME's.

---

 dlls/gdi32/driver.c |    5 ++++-
 dlls/ntdll/rtl.c    |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c
index 635eeb8..639e4a8 100644
--- a/dlls/gdi32/driver.c
+++ b/dlls/gdi32/driver.c
@@ -750,6 +750,9 @@ INT WINAPI NamedEscape( HDC hdc, LPCWSTR pDriver, INT nEscape, INT cbInput, LPCS
  */
 ULONG WINAPI DdQueryDisplaySettingsUniqueness(VOID)
 {
-    FIXME("stub\n");
+    static int warn_once;
+
+    if (!warn_once++)
+        FIXME("stub\n");
     return 0;
 }
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index d4a7045..301b30c 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -444,7 +444,10 @@ PVOID WINAPI RtlInitializeGenericTable(PVOID pTable, PVOID arg2, PVOID arg3, PVO
  */
 PVOID RtlEnumerateGenericTableWithoutSplaying(PVOID pTable, PVOID *RestartKey)
 {
-    FIXME("(%p,%p) stub!\n", pTable, RestartKey);
+    static int warn_once;
+
+    if (!warn_once++)
+        FIXME("(%p,%p) stub!\n", pTable, RestartKey);
     return NULL;
 }
 




More information about the wine-cvs mailing list