[gnome-control-center] region: Shut up a compiler warning
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Shut up a compiler warning
- Date: Sat, 28 Feb 2015 10:41:13 +0000 (UTC)
commit 4179afc55caf692995b9339e3fd5a204968c475b
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 28 11:29:08 2015 +0100
region: Shut up a compiler warning
The variable cannot actually be used uninitialized, but that's not
obvious to the compiler.
panels/region/cc-region-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index 4c20f6e..e6067bd 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -218,7 +218,7 @@ show_restart_notification (CcRegionPanel *self,
GtkWidget *box;
GtkWidget *label;
GtkWidget *button;
- gchar *current_locale;
+ gchar *current_locale = NULL;
if (priv->notification)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]