summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--babeld/babel_main.c3
-rw-r--r--bfdd/bfdd.c1
-rw-r--r--bgpd/bgp_main.c1
-rw-r--r--eigrpd/eigrp_main.c1
-rw-r--r--isisd/isis_main.c1
-rw-r--r--ldpd/ldpd.c1
-rw-r--r--lib/libfrr.c1
-rw-r--r--nhrpd/nhrp_main.c1
-rw-r--r--ospf6d/ospf6_main.c1
-rw-r--r--ospfd/ospf_main.c1
-rw-r--r--pathd/path_main.c1
-rw-r--r--pbrd/pbr_main.c1
-rw-r--r--pimd/pim_main.c1
-rw-r--r--ripd/rip_main.c1
-rw-r--r--ripngd/ripng_main.c1
-rw-r--r--sharpd/sharp_main.c1
-rw-r--r--staticd/static_main.c1
-rw-r--r--vrrpd/vrrp_main.c1
-rw-r--r--zebra/main.c1
19 files changed, 1 insertions, 20 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index df1998c4f..61a800eef 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -183,8 +183,7 @@ main(int argc, char **argv)
case 0:
break;
default:
- frr_help_exit (1);
- break;
+ frr_help_exit(1);
}
}
diff --git a/bfdd/bfdd.c b/bfdd/bfdd.c
index 7a2c3cc3a..188e47905 100644
--- a/bfdd/bfdd.c
+++ b/bfdd/bfdd.c
@@ -364,7 +364,6 @@ int main(int argc, char *argv[])
default:
frr_help_exit(1);
- break;
}
}
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 38cc78133..08776d200 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -490,7 +490,6 @@ int main(int argc, char **argv)
break;
default:
frr_help_exit(1);
- break;
}
}
if (skip_runas)
diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c
index b775c841f..9acb517d8 100644
--- a/eigrpd/eigrp_main.c
+++ b/eigrpd/eigrp_main.c
@@ -177,7 +177,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/isisd/isis_main.c b/isisd/isis_main.c
index acfa1a29d..6deeebda9 100644
--- a/isisd/isis_main.c
+++ b/isisd/isis_main.c
@@ -231,7 +231,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c
index 800b954d6..000d1a330 100644
--- a/ldpd/ldpd.c
+++ b/ldpd/ldpd.c
@@ -304,7 +304,6 @@ main(int argc, char *argv[])
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/lib/libfrr.c b/lib/libfrr.c
index 97dab74d9..d03437328 100644
--- a/lib/libfrr.c
+++ b/lib/libfrr.c
@@ -418,7 +418,6 @@ static int frr_opt(int opt)
switch (opt) {
case 'h':
frr_help_exit(0);
- break;
case 'v':
print_version(di->progname);
exit(0);
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 54b785020..73684046a 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -71,7 +71,6 @@ static void parse_arguments(int argc, char **argv)
break;
default:
frr_help_exit(1);
- break;
}
}
}
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index e23361169..54cf142ba 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -208,7 +208,6 @@ int main(int argc, char *argv[], char *envp[])
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c
index 73d596b03..257429ebe 100644
--- a/ospfd/ospf_main.c
+++ b/ospfd/ospf_main.c
@@ -185,7 +185,6 @@ int main(int argc, char **argv)
#endif /* SUPPORT_OSPF_API */
default:
frr_help_exit(1);
- break;
}
}
diff --git a/pathd/path_main.c b/pathd/path_main.c
index 8d8847520..7b702cca3 100644
--- a/pathd/path_main.c
+++ b/pathd/path_main.c
@@ -138,7 +138,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c
index 786155903..c7cbbb446 100644
--- a/pbrd/pbr_main.c
+++ b/pbrd/pbr_main.c
@@ -153,7 +153,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 96132c442..780595ca1 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -115,7 +115,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/ripd/rip_main.c b/ripd/rip_main.c
index 2e5eec984..7b9146b13 100644
--- a/ripd/rip_main.c
+++ b/ripd/rip_main.c
@@ -161,7 +161,6 @@ int main(int argc, char **argv)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c
index a5d837aa5..34cd4ab0a 100644
--- a/ripngd/ripng_main.c
+++ b/ripngd/ripng_main.c
@@ -163,7 +163,6 @@ int main(int argc, char **argv)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c
index 75cf14538..a646c313e 100644
--- a/sharpd/sharp_main.c
+++ b/sharpd/sharp_main.c
@@ -171,7 +171,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/staticd/static_main.c b/staticd/static_main.c
index 1561b91ef..f7a15462a 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -149,7 +149,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/vrrpd/vrrp_main.c b/vrrpd/vrrp_main.c
index a5ad37aa0..990fa9e38 100644
--- a/vrrpd/vrrp_main.c
+++ b/vrrpd/vrrp_main.c
@@ -148,7 +148,6 @@ int main(int argc, char **argv, char **envp)
break;
default:
frr_help_exit(1);
- break;
}
}
diff --git a/zebra/main.c b/zebra/main.c
index bded50149..6162d36b4 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -384,7 +384,6 @@ int main(int argc, char **argv)
#endif /* HAVE_NETLINK */
default:
frr_help_exit(1);
- break;
}
}