From f25cc3399d89cc58a032ed2dffee2125c1962f6e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 22 Mar 2013 14:57:55 -0500 Subject: init the GError pointer to NULL --- tools/indicator-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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); -- cgit v1.2.3