aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libplanfahr/tests/lpf-manager.c4
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);