From: Sami Kerola Date: Sat, 22 Jan 2011 20:54:38 +0000 (+0100) Subject: Impossible to reach sections removed X-Git-Tag: v2.14~11 X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=commitdiff_plain;h=f32e023ecf6af961f5b39f03285349336e59f214 Impossible to reach sections removed With a bit of gcov analysis, and logical thinking, it was obvious that section that got to be removed cannot be reach. Signed-off-by: Sami Kerola --- diff --git a/src/dhcpd-pools.c b/src/dhcpd-pools.c index ff8e552..ef18faa 100644 --- a/src/dhcpd-pools.c +++ b/src/dhcpd-pools.c @@ -97,8 +97,6 @@ int main(int argc, char **argv) break; switch (c) { - case 0: - break; case 'c': /* config file */ strncpy(config.dhcpdconf_file, optarg, @@ -182,10 +180,6 @@ int main(int argc, char **argv) case 'c': output_analysis = output_csv; break; - case 's': - /* output_analysis = output_snmp; */ - output_analysis = output_txt; - break; default: errx(EXIT_FAILURE, "main: unknown ouput format `%c'", config.output_format[0]);