From 7c0beccf286a1dbd396fda7d40b438598a6ce7f4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Jul 2015 17:18:29 -0400 Subject: tests: Add an assertion This makes coverity happy. It noticed that we check source for being non-NULL every other case but not here. --- tests/engine.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/engine.c') diff --git a/tests/engine.c b/tests/engine.c index 174417d..09e89c2 100644 --- a/tests/engine.c +++ b/tests/engine.c @@ -505,6 +505,7 @@ test_service_source (void) */ dconf_engine_source_free (source); source = dconf_engine_source_new ("service-db:shm/nil"); + g_assert (source != NULL); reopened = dconf_engine_source_refresh (source); g_assert (reopened); -- cgit v1.2.1