[Spice-devel] [spice-gtk v3 10/19] log: remove unused SPICE_DEBUG

Victor Toso victortoso at redhat.com
Sat Mar 12 14:32:11 UTC 2016


---
 src/spice-util.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/spice-util.h b/src/spice-util.h
index f902c6e..26a2264 100644
--- a/src/spice-util.h
+++ b/src/spice-util.h
@@ -33,12 +33,6 @@ gulong spice_g_signal_connect_object(gpointer instance,
                                      GConnectFlags connect_flags);
 gchar* spice_uuid_to_string(const guint8 uuid[16]);
 
-#define SPICE_DEBUG(fmt, ...)                                   \
-    do {                                                        \
-        if (G_UNLIKELY(spice_util_get_debug()))                 \
-            g_debug(G_STRLOC " " fmt, ## __VA_ARGS__);          \
-    } while (0)
-
 #define SPICE_RESERVED_PADDING (10 * sizeof(void*))
 
 /* need to be in a public header, glib-compat.h is private */
-- 
2.5.0



More information about the Spice-devel mailing list