[empathy: 46/80] Compare against NULL



commit 17e3f7d1ac4f174141c21f7996cce34dd33f8c15
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Wed Apr 27 10:57:42 2011 +0100

    Compare against NULL

 libempathy-gtk/empathy-log-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index ef99f02..3b12bcf 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -931,9 +931,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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]