From c18c79aa8c3ac8376478a8cc3b59da2719f9ebcf Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 13 Feb 2012 16:14:14 +0000 Subject: [PATCH] - fix coverity --- src/testing/gnunet-testing.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c index f5d7ab36c..0caa28e25 100644 --- a/src/testing/gnunet-testing.c +++ b/src/testing/gnunet-testing.c @@ -77,8 +77,11 @@ create_unique_cfgs (const char * template, const unsigned int no) return 1; } /* load defaults */ - else - GNUNET_CONFIGURATION_load(cfg_tmpl, NULL); + else if (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl, NULL)) + { + GNUNET_break (0); + return 1; + } if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg_tmpl, "PATHS", "SERVICEHOME", &service_home)) { -- 2.25.1