[gnome-control-center] shell: Fix compile-time warning



commit 8a7ee8afcb1ebe4abe53639c90fa19dd7ca1006b
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Apr 29 14:34:36 2013 +0200

    shell: Fix compile-time warning
    
    cc-window.c:561:12: warning: 'matches' may be used uninitialized in this function [-Wmaybe-uninitialized]

 shell/cc-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 19357b2..facf9e1 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -557,7 +557,7 @@ model_filter_func (GtkTreeModel    *model,
                    CcWindowPrivate *priv)
 {
   char **terms, **t;
-  gboolean matches;
+  gboolean matches = FALSE;
 
   if (!priv->filter_string)
     return FALSE;


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