From 92d8fc39ba567a4adfea253fdeed63580ddf4448 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 27 Apr 2011 10:57:42 +0100 Subject: Compare against NULL --- libempathy-gtk/empathy-log-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk/empathy-log-window.c') diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 2a00fdc80..f159c3fd5 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -927,9 +927,9 @@ log_window_get_selected (EmpathyLogWindow *window, if (paths == NULL) return FALSE; - if (accounts) + if (accounts != NULL) *accounts = NULL; - if (entities) + if (entities != NULL) *entities = NULL; for (l = paths; l != NULL; l = l->next) -- cgit v1.2.3