[gnome-panel] panel: fix an uninitialized variable warning



commit 03d09b99ee1d5d3ffd48bdc0800a8266ed0515a0
Author: Philipp Kaluza <phk src gnome org>
Date:   Wed Sep 25 15:26:33 2013 +0200

    panel: fix an uninitialized variable warning

 gnome-panel/panel-layout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-layout.c b/gnome-panel/panel-layout.c
index 01ff12a..e5cef45 100644
--- a/gnome-panel/panel-layout.c
+++ b/gnome-panel/panel-layout.c
@@ -126,7 +126,7 @@ panel_layout_append_self_check (GSettings                 *settings,
                                 GError                   **error)
 {
         char **settings_keys = NULL;
-        int    i, j;
+        int    i, j=0;
 
         /* Don't do those checks twice; we use a static array with a boolean
          * for each set of key definitions we might want to check, and mark the


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]