]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Be more silent with porting problems.
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 29 Apr 2010 14:10:31 +0000 (16:10 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 3 May 2010 08:53:44 +0000 (10:53 +0200)
dbus/dbus-memory.c

index 4729626712a12fd1b1bdce9f1d944c1133731048..a37759c0f10144a9b8e76ea612b480b6a3e76084 100644 (file)
@@ -233,6 +233,7 @@ _dbus_get_fail_alloc_failures (void)
 }
 
 #ifdef DBUS_BUILD_TESTS
+static dbus_bool_t called = 0;
 /**
  * Called when about to alloc some memory; if
  * it returns #TRUE, then the allocation should
@@ -247,10 +248,9 @@ _dbus_decrement_fail_alloc_counter (void)
   _dbus_initialize_malloc_debug ();
 #ifdef DBUS_WIN_FIXME
   {
-    static dbus_bool_t called = 0;
     if (!called)
       {
-        _dbus_warn("TODO: memory allocation testing errors disabled for now\n");
+        _dbus_verbose("TODO: memory allocation testing errors disabled for now\n");
         called = 1;
       }
     return FALSE;