aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-03-22 14:57:55 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-03-22 14:57:55 -0500
commitf25cc3399d89cc58a032ed2dffee2125c1962f6e (patch)
treefa32c64dc85cda480d3d9e4ef46798b81ec8f61d /tools
parent98cae790d2d583d55d682d92c3ee03b768c05257 (diff)
downloadlibayatana-indicator-f25cc3399d89cc58a032ed2dffee2125c1962f6e.tar.gz
libayatana-indicator-f25cc3399d89cc58a032ed2dffee2125c1962f6e.tar.bz2
libayatana-indicator-f25cc3399d89cc58a032ed2dffee2125c1962f6e.zip
init the GError pointer to NULL
Diffstat (limited to 'tools')
-rw-r--r--tools/indicator-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c
index 5d889bf..5659dea 100644
--- a/tools/indicator-loader.c
+++ b/tools/indicator-loader.c
@@ -196,7 +196,7 @@ int
main (int argc, char ** argv)
{
/* Parse the command line options */
- GError * error;
+ GError * error = NULL;
GOptionContext * context;
context = g_option_context_new ("/path/to/file.indicator");
g_option_context_add_main_entries (context, entries, NULL);