From 4d09627fde8fcdd17dd46b865ef238cf0f87ca8f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 16 Aug 2016 07:33:25 +1000 Subject: [PATCH] don't return void (cherry picked from commit 42a14518ac471f6ab5f6994bc2b315406651755e) --- lib/isccfg/namedconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 0695b9bfe9..6be7e932d8 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -2473,7 +2473,7 @@ parse_minimal(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret) { } static void doc_minimal(cfg_printer_t *pctx, const cfg_type_t *type) { - return (doc_enum_or_other(pctx, type, &cfg_type_boolean)); + doc_enum_or_other(pctx, type, &cfg_type_boolean); } static cfg_type_t cfg_type_minimal = { "mimimal", parse_minimal, cfg_print_ustring, doc_minimal,