shell: Fix compile-time warning

cc-window.c:561:12: warning: 'matches' may be used uninitialized in this function [-Wmaybe-uninitialized]
This commit is contained in:
Bastien Nocera 2013-04-29 14:34:36 +02:00
parent b4b0ae8d89
commit 8a7ee8afcb

View file

@ -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;