[gnome-control-center] shell: Initialize variable
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Initialize variable
- Date: Thu, 18 Jan 2018 01:15:23 +0000 (UTC)
commit 693df19026955017f68eb4616fd745b428300432
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jan 17 23:14:09 2018 -0200
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.
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 fc7779f..ffe8928 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]