diff options
author | Robert McQueen <robert.mcqueen@collabora.co.uk> | 2007-02-26 15:41:00 +0000 |
---|---|---|
committer | Robert McQueen <robert.mcqueen@collabora.co.uk> | 2007-02-26 15:41:00 +0000 |
commit | 5bf9c1d6c3eefde9136da51abc75a26b8b3e121b (patch) | |
tree | e3b44814deea6bd8e4fb7170c9be632be74133a6 | |
parent | 775d29eadba1f978cdd204384196548e8d03fad8 (diff) |
fix unused variable when debug is disabled
-rw-r--r-- | src/gabble-media-channel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gabble-media-channel.c b/src/gabble-media-channel.c index 561ae963b..446f42e66 100644 --- a/src/gabble-media-channel.c +++ b/src/gabble-media-channel.c @@ -1025,8 +1025,10 @@ _gabble_media_channel_add_member (TpSvcChannelInterfaceGroup *obj, { GabbleMediaChannel *chan = GABBLE_MEDIA_CHANNEL (obj); GabbleMediaChannelPrivate *priv = GABBLE_MEDIA_CHANNEL_GET_PRIVATE (chan); - TpBaseConnection *conn = (TpBaseConnection *)priv->conn; TpGroupMixin *mixin = TP_GROUP_MIXIN (obj); +#ifdef ENABLE_DEBUG + TpBaseConnection *conn = (TpBaseConnection *)priv->conn; +#endif /* did we create this channel? */ if (priv->creator == mixin->self_handle) |