Mike McCormack : oleaut32: Output a FIXME message only once.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 6 06:16:46 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 98ed3fa5537c89ea5810e4f2734ae7a1e6d51f64
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=98ed3fa5537c89ea5810e4f2734ae7a1e6d51f64

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Jan  6 12:16:58 2006 +0100

oleaut32: Output a FIXME message only once.

---

 dlls/oleaut32/typelib.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 4ef590e..765b6ac 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -4287,7 +4287,12 @@ static ULONG WINAPI ITypeInfo_fnRelease(
          it means that function is called by ITypeLib2_Release */
       ITypeLib2_Release((ITypeLib2*)This->pTypeLib);
     } else   {
-      FIXME("destroy child objects\n");
+      static int once = 0;
+      if (!once)
+      {
+          once = 1;
+          FIXME("destroy child objects\n");
+      }
 
       TRACE("destroying ITypeInfo(%p)\n",This);
       if (This->Name)




More information about the wine-cvs mailing list