summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2008-01-12 22:39:32 +0000
committertobias <tobias@openbsd.org>2008-01-12 22:39:32 +0000
commit528e2d0cecc63e9dc833c0730baf30281048eef4 (patch)
treefc7f735fc42e5dfb1099b7b598710064839e2d54
parentSync (diff)
downloadwireguard-openbsd-528e2d0cecc63e9dc833c0730baf30281048eef4.tar.xz
wireguard-openbsd-528e2d0cecc63e9dc833c0730baf30281048eef4.zip
Added missing break statements.
OK xsa@ > Diff from Igor Zinovik <zinovik at cs dot karelia dot ru>
-rw-r--r--usr.bin/cvs/getlog.c3
-rw-r--r--usr.bin/cvs/watch.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index d99f5eb4c2a..0e4d17c8ad3 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.79 2008/01/10 11:25:27 tobias Exp $ */
+/* $OpenBSD: getlog.c,v 1.80 2008/01/12 22:39:32 tobias Exp $ */
/*
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
@@ -82,6 +82,7 @@ cvs_getlog(int argc, char **argv)
break;
case 'R':
runflags |= L_NAME;
+ break;
case 'r':
logrev = optarg;
break;
diff --git a/usr.bin/cvs/watch.c b/usr.bin/cvs/watch.c
index dfad04f411f..4caa79f9b42 100644
--- a/usr.bin/cvs/watch.c
+++ b/usr.bin/cvs/watch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: watch.c,v 1.17 2007/02/22 06:42:10 otto Exp $ */
+/* $OpenBSD: watch.c,v 1.18 2008/01/12 22:39:32 tobias Exp $ */
/*
* Copyright (c) 2005-2007 Xavier Santolaria <xsa@openbsd.org>
*
@@ -99,6 +99,7 @@ cvs_watch(int argc, char **argv)
watch_aflags &= ~W_ALL;
else
fatal("%s", cvs_cmd_watch.cmd_synopsis);
+ break;
case 'l':
flags &= ~CR_RECURSE_DIRS;
break;