[gnome-control-center] shell: Fix compile-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Fix compile-time warning
- Date: Mon, 29 Apr 2013 12:35:30 +0000 (UTC)
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]