summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-29 13:28:40 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-29 13:28:44 +0100
commit071ac55dacc674d53e93677c4bd36594b38205a1 (patch)
tree3e0ec6219f79bd6cab5a6b86524ee5d40ac9da87
parent6163467b9e155238b37e903816c93ae99a6b4b13 (diff)
downloadtelepathy-logger-071ac55dacc674d53e93677c4bd36594b38205a1.tar.gz
stop assuming lists have to be not NULL
-rw-r--r--telepathy-logger/log-manager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c
index f8020e7..1ac1b6a 100644
--- a/telepathy-logger/log-manager.c
+++ b/telepathy-logger/log-manager.c
@@ -982,7 +982,6 @@ static void
_get_dates_async_result_free (gpointer data)
{
GList *lst = data; /* list of (GDate *) */
- g_return_if_fail (data != NULL);
g_list_foreach (lst, (GFunc) g_date_free, NULL);
g_list_free (lst);
@@ -1106,7 +1105,6 @@ static void
_get_messages_for_date_async_result_free (gpointer data)
{
GList *lst = data; /* list of TPL_ENTRY */
- g_return_if_fail (data != NULL);
g_list_foreach (lst, (GFunc) g_object_unref, NULL);
g_list_free (lst);
@@ -1460,7 +1458,6 @@ static void
_search_in_identifier_chats_new_async_result_free (gpointer data)
{
GList *lst = data; /* list of TplSearchHit */
- g_return_if_fail (data != NULL);
g_list_foreach (lst, (GFunc) _tpl_log_manager_search_hit_free, NULL);
g_list_free (lst);