summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-12 22:39:33 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-12 22:39:33 +0000
commit8b5e37d51faa2e2099fa0e888449fce59ac1ef87 (patch)
treeb181be9e06cfbfd379d67044c4828d6668776d2b /usr.bin/cvs
parentea3fa005f0f5e5a86763b936a53b66dee636ba91 (diff)
Added missing break statements.
OK xsa@ > Diff from Igor Zinovik <zinovik at cs dot karelia dot ru>
Diffstat (limited to 'usr.bin/cvs')
-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;