[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Fix CID 213275: Constant variable guards dead code

noreply at xfce.org noreply at xfce.org
Fri Jun 7 05:22:51 CEST 2019


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 601c0398e0874c45dacd12f7bbd790c092ab4b1d
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Jun 6 23:22:45 2019 -0400

    Fix CID 213275: Constant variable guards dead code
---
 savers/gste-popsquares.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/savers/gste-popsquares.c b/savers/gste-popsquares.c
index eac1788..5d0ae02 100644
--- a/savers/gste-popsquares.c
+++ b/savers/gste-popsquares.c
@@ -471,8 +471,8 @@ draw_frame (GSTEPopsquares *pop,
 
             gdk_cairo_set_source_rgba (cr, &(pop->priv->colors[s->color]));
             cairo_rectangle (cr, s->x, s->y,
-                             border ? s->w - border : s->w,
-                             border ? s->h - border : s->h);
+                             s->w - border,
+                             s->h - border);
             cairo_fill (cr);
             s->color++;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list