diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-03-22 14:57:55 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-03-22 14:57:55 -0500 |
commit | f25cc3399d89cc58a032ed2dffee2125c1962f6e (patch) | |
tree | fa32c64dc85cda480d3d9e4ef46798b81ec8f61d | |
parent | 98cae790d2d583d55d682d92c3ee03b768c05257 (diff) | |
download | libayatana-indicator-f25cc3399d89cc58a032ed2dffee2125c1962f6e.tar.gz libayatana-indicator-f25cc3399d89cc58a032ed2dffee2125c1962f6e.tar.bz2 libayatana-indicator-f25cc3399d89cc58a032ed2dffee2125c1962f6e.zip |
init the GError pointer to NULL
-rw-r--r-- | tools/indicator-loader.c | 2 |
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); |