From 391e1455fb239780a15965e977cc78034578d518 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 8 May 2015 11:29:37 +0200 Subject: Properly init GError This fixes the test suite failures at http://honk.sigxcpu.org:8001/job/libplanfahr-autotools-check/36/ --- libplanfahr/tests/lpf-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libplanfahr/tests/lpf-manager.c b/libplanfahr/tests/lpf-manager.c index 18fd307..7d38357 100644 --- a/libplanfahr/tests/lpf-manager.c +++ b/libplanfahr/tests/lpf-manager.c @@ -38,7 +38,7 @@ test_lpf_manager(void) static void test_lpf_manager_activate_provider(void) { - GError *err; + GError *err = NULL; g_assert_nonnull (manager); provider = lpf_manager_activate_provider(manager, LPF_TEST_PROVIDER, &err); @@ -51,7 +51,7 @@ test_lpf_manager_activate_provider(void) static void test_lpf_manager_activate_nonexistent_provider(void) { - GError *err; + GError *err = NULL; LpfProvider *nonexistent; g_assert_nonnull (manager); -- cgit v1.2.3