Fix build with debug
authorJose Dapena Paz <jdapena@igalia.com>
Sun, 31 May 2009 18:37:55 +0000 (20:37 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Sun, 31 May 2009 18:58:39 +0000 (20:58 +0200)
src/modest-init.c

index a4394df..db9be25 100644 (file)
@@ -564,6 +564,7 @@ init_debug_g_type (void)
        g_type_init_with_debug_flags (gflags);
 }
 
+#ifndef DEBUG
 static void 
 null_log(const gchar* dom, 
         GLogLevelFlags l, 
@@ -572,6 +573,7 @@ null_log(const gchar* dom,
 {
        return;
 };
+#endif
 
 static void
 init_debug_logging (void)