diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-01-17 23:14:09 -0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-01-17 23:14:09 -0200 |
commit | 693df19026955017f68eb4616fd745b428300432 (patch) | |
tree | 98f1a3e906e076d4677515b4b045fe7388f50e4d /shell | |
parent | 61c33da3cf292e519f3bfecacbb8b9af9a3de93d (diff) | |
download | gnome-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.c | 1 |
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) { |