[Xfce4-commits] [xfce/xfce4-settings] 01/01: Fix CID 292062, 292063: Uninitialized scalar variable(s)
noreply at xfce.org
noreply at xfce.org
Sat Jun 9 18:03:25 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 m a s t e r
in repository xfce/xfce4-settings.
commit 7d79ee4be75ac990c6f0c01eaf0509a77991d8d3
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Jun 9 12:03:15 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 4649a89..ecafa14 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -954,8 +954,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;
@@ -1600,9 +1600,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