diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-05-08 11:29:37 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-05-08 11:29:37 +0200 |
commit | 391e1455fb239780a15965e977cc78034578d518 (patch) | |
tree | c50fc40c8fabc7447bf523c102ebda39d1bf78a9 | |
parent | 5e6460ecd7ae28e9a09c3f5134111b49bca83d76 (diff) |
Properly init GError
This fixes the test suite failures at
http://honk.sigxcpu.org:8001/job/libplanfahr-autotools-check/36/
-rw-r--r-- | libplanfahr/tests/lpf-manager.c | 4 |
1 files 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); |