diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-24 14:26:03 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-24 14:32:38 +0100 |
commit | 74bb3d1d53a7cd5fa0f3d627ee504a12f09777b0 (patch) | |
tree | 3b7b8ef8ab029ccb922471e201957c2900367def | |
parent | 3d38b481aeb7e74b4cdc21325b9a02abe2d0cc7c (diff) | |
download | telepathy-logger-74bb3d1d53a7cd5fa0f3d627ee504a12f09777b0.tar.gz |
log_store_xml_get_chats: remove useless (and retarded) iteration on hits
-rw-r--r-- | telepathy-logger/log-store-xml.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c index 8449d4e..0fdaa84 100644 --- a/telepathy-logger/log-store-xml.c +++ b/telepathy-logger/log-store-xml.c @@ -1152,13 +1152,6 @@ log_store_xml_get_chats (TplLogStore *store, hits = log_store_xml_get_chats_for_dir (self, dir, FALSE, account); g_free (dir); - for (guint i = 0; i < g_list_length (hits); ++i) - { - TplLogSearchHit *hit; - hit = g_list_nth_data (hits, i); - } - - return hits; } |