From: dforsi <df...@us...> - 2012-08-30 15:48:42
|
commit 14272c4da3bb02206d817dc7ccab21e047e2381e Author: Daniele Forsi <da...@fo...> 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 { |