diff options
author | 2016-10-24 01:09:17 +0000 | |
---|---|---|
committer | 2016-10-24 01:09:17 +0000 | |
commit | d6822f2d88f8be5635194911e397977ec5097306 (patch) | |
tree | e7552fbc7d6abebd85ef7e8b1f87ca4023fd0a03 | |
parent | Improved parameter handling in wsmouse and new ioctls for reading and (diff) | |
download | wireguard-openbsd-d6822f2d88f8be5635194911e397977ec5097306.tar.xz wireguard-openbsd-d6822f2d88f8be5635194911e397977ec5097306.zip |
Remove dead breaks, found via opencoverage.net. ok deraadt@
-rw-r--r-- | usr.bin/ssh/servconf.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshkey.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c index dd854a70ef7..5ff73c2f0a9 100644 --- a/usr.bin/ssh/servconf.c +++ b/usr.bin/ssh/servconf.c @@ -1,5 +1,5 @@ -/* $OpenBSD: servconf.c,v 1.297 2016/09/28 20:32:42 djm Exp $ */ +/* $OpenBSD: servconf.c,v 1.298 2016/10/24 01:09:17 dtucker Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved @@ -1064,7 +1064,6 @@ process_server_config_line(ServerOptions *options, char *line, MAX_HOSTCERTS); charptr = &options->host_cert_files[*intptr]; goto parse_filename; - break; case sPidFile: charptr = &options->pid_file; diff --git a/usr.bin/ssh/sshkey.c b/usr.bin/ssh/sshkey.c index e6c64ae05e2..90fd525fd50 100644 --- a/usr.bin/ssh/sshkey.c +++ b/usr.bin/ssh/sshkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshkey.c,v 1.40 2016/10/04 21:34:40 djm Exp $ */ +/* $OpenBSD: sshkey.c,v 1.41 2016/10/24 01:09:17 dtucker Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. * Copyright (c) 2008 Alexander von Gernler. All rights reserved. @@ -492,7 +492,6 @@ sshkey_new(int type) default: free(k); return NULL; - break; } if (sshkey_is_cert(k)) { |