From e0df7b89fb8a7e7b7164d036e437c9862d23989a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 6 Aug 2017 13:36:51 +0200 Subject: [PATCH] server: Get rid of a dead store. We jump to the success label which sets ret no a non-negative value. Found by the clang static analyzer. --- server.c | 1 - 1 file changed, 1 deletion(-) diff --git a/server.c b/server.c index 2bfc1d8f..6529073f 100644 --- a/server.c +++ b/server.c @@ -196,7 +196,6 @@ void parse_config_or_die(bool reload) goto free_cf; if (ret == -ERRNO_TO_PARA_ERROR(ENOENT) && OPT_GIVEN(CONFIG_FILE)) goto free_cf; - ret = 0; server_lpr = cmdline_lpr; goto success; } -- 2.39.2