summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-07 22:20:29 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-07 22:20:29 (EST)
commitefb849c2661da7d12cf03f039b92ddfa30715d66 (patch)
treef371338e87bcee298512aab3f5883198e1d115c0 /src
parent06719ff4dc555908f17ca85ae27aee46ac525521 (diff)
downloadmarquee-efb849c2661da7d12cf03f039b92ddfa30715d66.zip
marquee-efb849c2661da7d12cf03f039b92ddfa30715d66.tar.gz
marquee-efb849c2661da7d12cf03f039b92ddfa30715d66.tar.bz2
main(): Initialize GError pointer to NULL
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7b18027..cd3618c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -58,6 +58,7 @@ main(int argc, char *argv[])
GError *error;
MqApplication *application;
+ error = NULL;
if (G_UNLIKELY(!gtk_init_with_args(&argc, &argv, "[URI]", entries, NULL,
&error))) {
g_print("%s: %s\n", PACKAGE, error->message);