[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Fix CID 218333: Unsigned compared against 0

noreply at xfce.org noreply at xfce.org
Sat Jul 6 11:46:27 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 d1b032adf7227c3efc557af155c8a4644766829b
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Jul 6 05:46:21 2019 -0400

    Fix CID 218333: Unsigned compared against 0
---
 src/gs-manager.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/gs-manager.c b/src/gs-manager.c
index c11b85c..9a6ca67 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -765,10 +765,8 @@ manager_show_window (GSManager *manager,
 
     manager->priv->activate_time = time (NULL);
 
-    if (manager->priv->prefs->lock_timeout >= 0) {
-        remove_lock_timer (manager);
-        add_lock_timer (manager, manager->priv->prefs->lock_timeout);
-    }
+    remove_lock_timer (manager);
+    add_lock_timer (manager, manager->priv->prefs->lock_timeout);
 
     if (manager->priv->prefs->cycle >= 10000) {
         remove_cycle_timer (manager);

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


More information about the Xfce4-commits mailing list