From 2f92b79ff660259e42515f0576cd1ac48248f3dc Mon Sep 17 00:00:00 2001 From: Mike Heffner Date: Sat, 10 Aug 2002 08:42:10 +0000 Subject: [PATCH] Add break's to case blocks. PR: bin/41511 Submitted by: Daniel Hagan --- usr.sbin/watch/watch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/watch/watch.c b/usr.sbin/watch/watch.c index b2572ff7796..af5b5ae6f53 100644 --- a/usr.sbin/watch/watch.c +++ b/usr.sbin/watch/watch.c @@ -406,6 +406,7 @@ main(int ac, char *av[]) set_dev(dev_name); } else cleanup(-1); + break; case SNP_DETACH: case SNP_TTYCLOSE: if (opt_reconn_close) @@ -415,6 +416,7 @@ main(int ac, char *av[]) set_dev(dev_name); } else cleanup(-1); + break; default: nread = (unsigned)idata; if (nread < (b_size / 2) && (b_size / 2) > MIN_SIZE) {