[Xfce4-commits] [xfce/xfce4-settings] 01/01: Fix CID 292062, 292063: Uninitialized scalar variable(s)

noreply at xfce.org noreply at xfce.org
Tue Jun 19 04:03:50 CEST 2018


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       x   f   c   e   -   4   .   1   2   
   in repository xfce/xfce4-settings.

commit 764d474db554e983832069080855f2e138e89ed4
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Mon Jun 18 22:03:36 2018 -0400

    Fix CID 292062, 292063: Uninitialized scalar variable(s)
---
 dialogs/display-settings/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index b4026d5..80ebe28 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -948,8 +948,8 @@ display_setting_mirror_displays_populate (GtkBuilder *builder)
     GObject *check;
     RRMode   mode = None;
     guint    n;
-    gint     cloned = TRUE;
-    gint     mirrored;
+    gboolean cloned = TRUE;
+    gboolean mirrored = FALSE;
 
     if (!xfce_randr)
         return;
@@ -1594,9 +1594,9 @@ static gint
 get_mirrored_configuration (void)
 {
     gboolean cloned = TRUE;
+    gboolean mirrored = FALSE;
     RRMode   mode = None;
     guint    n;
-    gint     mirrored;
 
     if (!xfce_randr)
         return FALSE;

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


More information about the Xfce4-commits mailing list