[gtk-vnc] Change debug function into a null macro
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Change debug function into a null macro
- Date: Fri, 9 Dec 2011 17:42:05 +0000 (UTC)
commit 1b1d676ea9661e6aa03fd12e552d2b2c6c5a9850
Author: Daniel P. Berrange <berrange redhat com>
Date: Fri Dec 9 16:57:41 2011 +0000
Change debug function into a null macro
plugin/gtk-vnc-plugin.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugin/gtk-vnc-plugin.h b/plugin/gtk-vnc-plugin.h
index 4eb453d..663e300 100644
--- a/plugin/gtk-vnc-plugin.h
+++ b/plugin/gtk-vnc-plugin.h
@@ -76,7 +76,7 @@ debug (const char *msg, ...)
fflush (stderr);
}
#else
-static inline void debug (const char *msg G_GNUC_UNUSED, ...) { }
+#define debug(msg, ...)
#endif
#endif /* GTK_VNC_PLUGIN_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]