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.
This commit is contained in:
Georges Basile Stavracas Neto 2018-01-17 23:14:09 -02:00
parent 61c33da3cf
commit 693df19026

View file

@ -236,6 +236,7 @@ update_list_title (CcWindow *self)
const gchar *title; const gchar *title;
view = cc_panel_list_get_view (CC_PANEL_LIST (self->panel_list)); view = cc_panel_list_get_view (CC_PANEL_LIST (self->panel_list));
title = NULL;
switch (view) switch (view)
{ {