mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
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 <kerolasa@iki.fi>
This commit is contained in:
parent
9169422e9b
commit
f32e023ecf
1 changed files with 0 additions and 6 deletions
|
|
@ -97,8 +97,6 @@ int main(int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 0:
|
|
||||||
break;
|
|
||||||
case 'c':
|
case 'c':
|
||||||
/* config file */
|
/* config file */
|
||||||
strncpy(config.dhcpdconf_file, optarg,
|
strncpy(config.dhcpdconf_file, optarg,
|
||||||
|
|
@ -182,10 +180,6 @@ int main(int argc, char **argv)
|
||||||
case 'c':
|
case 'c':
|
||||||
output_analysis = output_csv;
|
output_analysis = output_csv;
|
||||||
break;
|
break;
|
||||||
case 's':
|
|
||||||
/* output_analysis = output_snmp; */
|
|
||||||
output_analysis = output_txt;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
errx(EXIT_FAILURE, "main: unknown ouput format `%c'",
|
errx(EXIT_FAILURE, "main: unknown ouput format `%c'",
|
||||||
config.output_format[0]);
|
config.output_format[0]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue