summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-02-08 11:33:40 +0000
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-02-08 11:33:40 +0000
commitc591ac2a7f3e661fa4de0397053e8a0dffb79e70 (patch)
tree9398a3e2d35c4e2a7d2920269bbc8c4e65a9e2e5
parent81025aef109e2284e08b767a92d40e5202b9ca99 (diff)
Remove useless scope variable
-rw-r--r--telepathy-logger/channel-text.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index 53c10ab11..23474736f 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -1218,9 +1218,8 @@ keepon_on_receiving_signal (TplChannelText *tpl_text,
if (_tpl_channel_text_is_chatroom (tpl_text))
{
- const gchar *room_id = _tpl_channel_text_get_chatroom_id (tpl_text);
- receiver = _tpl_entity_new_from_room_id (room_id);
- target_id = room_id;
+ target_id = _tpl_channel_text_get_chatroom_id (tpl_text);
+ receiver = _tpl_entity_new_from_room_id (target_id);
}
else
{