summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-27 05:00:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-27 05:00:29 +0000
commit70c218c0661ba27a4c4430956be019415528ecc8 (patch)
treeb811a829e54d2aa5cbf8eed75848e31e1137ce96
parent27d38671cbbb51c90fe1bf0f334f72e8e84f880d (diff)
goto labels after case statements make lint happier
-rw-r--r--usr.bin/sdiff/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sdiff/edit.c b/usr.bin/sdiff/edit.c
index e41323bd02a..b437264dd6b 100644
--- a/usr.bin/sdiff/edit.c
+++ b/usr.bin/sdiff/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.7 2005/12/27 04:43:01 tedu Exp $ */
+/* $OpenBSD: edit.c,v 1.8 2005/12/27 05:00:28 deraadt Exp $ */
/*
* Written by Raymond Lai <ray@cyth.net>.
@@ -157,8 +157,8 @@ eparse(const char *cmd, const char *left, const char *right)
err(2, "could not allocate memory");
break;
-LEFT:
case 'l':
+LEFT:
/* Skip if there is no left column. */
if (left == NULL)
break;
@@ -168,8 +168,8 @@ LEFT:
break;
-RIGHT:
case 'r':
+RIGHT:
/* Skip if there is no right column. */
if (right == NULL)
break;