From: Andre Noll Date: Sun, 6 Aug 2017 11:36:51 +0000 (+0200) Subject: server: Get rid of a dead store. X-Git-Tag: v0.6.1~29 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=e0df7b89fb8a7e7b7164d036e437c9862d23989a;ds=inline 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. --- 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; }