diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-01-31 11:52:15 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-02-24 16:05:17 -0500 |
commit | ac4d1b7f0e56f8f9fa92271a8b48c6edbc808a30 (patch) | |
tree | e8071dba425e8e4c305429a085211db2d4446fa1 /agent/agent-priv.h | |
parent | 816bf91a923a846066ce83b8bbf4af7ee12068d6 (diff) | |
download | libnice-ac4d1b7f0e56f8f9fa92271a8b48c6edbc808a30.tar.gz |
agent: Fix inlining of nice_debug() if NDEBUG is defined
Diffstat (limited to 'agent/agent-priv.h')
-rw-r--r-- | agent/agent-priv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/agent-priv.h b/agent/agent-priv.h index a49d9a5..1745c12 100644 --- a/agent/agent-priv.h +++ b/agent/agent-priv.h @@ -236,8 +236,8 @@ void nice_debug_init (void); #ifdef NDEBUG -static inline gboolean nice_debug_is_enabled (void) { return FALSE }; -static inline void nice_debug (const char *fmt, ...) G_GNUC_PRINTF (1, 2) { } +static inline gboolean nice_debug_is_enabled (void) { return FALSE; } +static inline void nice_debug (const char *fmt, ...) { } #else gboolean nice_debug_is_enabled (void); void nice_debug (const char *fmt, ...) G_GNUC_PRINTF (1, 2); |