summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-01-17 23:14:09 -0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-01-17 23:14:09 -0200
commit693df19026955017f68eb4616fd745b428300432 (patch)
tree98f1a3e906e076d4677515b4b045fe7388f50e4d /shell
parent61c33da3cf292e519f3bfecacbb8b9af9a3de93d (diff)
downloadgnome-control-center-693df19026955017f68eb4616fd745b428300432.tar.gz
shell: Initialize variable
In practice, this is never uninitialized, but the compiler is complaining anyway, so let's play the conservative and make sure it's always initialized to NULL.
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cc-window.c b/shell/cc-window.c
index fc7779f99..ffe89280b 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -236,6 +236,7 @@ update_list_title (CcWindow *self)
const gchar *title;
view = cc_panel_list_get_view (CC_PANEL_LIST (self->panel_list));
+ title = NULL;
switch (view)
{