commit 14272c4da3bb02206d817dc7ccab21e047e2381e
Author: Daniele Forsi <dani...@forsi.it>
Date:   Thu Aug 30 11:40:48 2012 +0200

    trivial: remove duplicated NULL check
    
    The same check is performed just above this one.
    Found with coccicheck by the coccinelle project
    http://coccinelle.lip6.fr/coccicheck.php

 plugins/track_display/rb_rating_helper.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plugins/track_display/rb_rating_helper.c 
b/plugins/track_display/rb_rating_helper.c
index b953701..fbcf4dd 100644
--- a/plugins/track_display/rb_rating_helper.c
+++ b/plugins/track_display/rb_rating_helper.c
@@ -153,10 +153,6 @@ rb_rating_render_stars (GtkWidget *widget,
                        return FALSE;
                }
 
-               if (buf == NULL) {
-                       return FALSE;
-               }
-
                if (rtl) {
                        star_offset = (RB_RATING_MAX_SCORE - i - 1) * 
icon_width;
                } else {

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to