From f32e023ecf6af961f5b39f03285349336e59f214 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 22 Jan 2011 21:54:38 +0100 Subject: [PATCH] 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 --- src/dhcpd-pools.c | 6 ------ 1 file changed, 6 deletions(-) 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]); -- 1.7.10.4