Impossible to reach sections removed
authorSami Kerola <kerolasa@iki.fi>
Sat, 22 Jan 2011 20:54:38 +0000 (21:54 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 22 Jan 2011 20:54:38 +0000 (21:54 +0100)
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 <kerolasa@iki.fi>

src/dhcpd-pools.c

index ff8e552..ef18faa 100644 (file)
@@ -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]);