From 2eee2eb0b33e21f1d4a151592f2ca0aecf13d440 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Thu, 15 Aug 2019 19:20:00 +0100 Subject: [PATCH] Fix a compiler warning Signed-off-by: Simon McVittie <smcv@collabora.com> --- src/wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrap.c b/src/wrap.c index b39764016..a4e4bda5a 100644 --- a/src/wrap.c +++ b/src/wrap.c @@ -1612,7 +1612,7 @@ int main (int argc, char *argv[]) { - g_autoptr(GOptionContext) context; + g_autoptr(GOptionContext) context = NULL; g_autoptr(GError) local_error = NULL; GError **error = &local_error; int ret = 2; -- GitLab