summaryrefslogtreecommitdiff
path: root/src/conn-aliasing.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-02-27 13:56:49 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-02-27 13:56:49 +0000
commit2bcf069e730b07647172b97a6df06c1b8883996c (patch)
tree819d13d26c86291f9af64bcb643dae2a13de4e71 /src/conn-aliasing.c
parenta8a8e2559c18a9e586ad4d74c55a4aef84e29598 (diff)
conn-aliasing: nick_publish_msg_reply_cb: wrap debug code in #ifdef ENABLE_DEBUG
This fixes unused variable warnings during distcheck.
Diffstat (limited to 'src/conn-aliasing.c')
-rw-r--r--src/conn-aliasing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conn-aliasing.c b/src/conn-aliasing.c
index 242fa639a..ae5ff09d3 100644
--- a/src/conn-aliasing.c
+++ b/src/conn-aliasing.c
@@ -439,6 +439,7 @@ nick_publish_msg_reply_cb (GabbleConnection *conn,
GObject *object,
gpointer user_data)
{
+#ifdef ENABLE_DEBUG
if (lm_message_get_sub_type (reply_msg) == LM_MESSAGE_SUB_TYPE_ERROR)
{
LmMessageNode *error_node;
@@ -455,6 +456,7 @@ nick_publish_msg_reply_cb (GabbleConnection *conn,
gabble_xmpp_error_description (error));
}
}
+#endif
return LM_HANDLER_RESULT_REMOVE_MESSAGE;
}