diff options
author | 2005-12-27 05:00:28 +0000 | |
---|---|---|
committer | 2005-12-27 05:00:28 +0000 | |
commit | 0fed32402b85d6bda4ae290ed34f208d6f9dce5e (patch) | |
tree | d981170069da4c4babbc7ab4b9741abbad7d7045 /usr.bin/sdiff | |
parent | INT_MAX should be big enough for a width (diff) | |
download | wireguard-openbsd-0fed32402b85d6bda4ae290ed34f208d6f9dce5e.tar.xz wireguard-openbsd-0fed32402b85d6bda4ae290ed34f208d6f9dce5e.zip |
goto labels after case statements make lint happier
Diffstat (limited to 'usr.bin/sdiff')
-rw-r--r-- | usr.bin/sdiff/edit.c | 6 |
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; |