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:
parent
61c33da3cf
commit
693df19026
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue