diff options
author | stefanf <stefanf@FreeBSD.org> | 2006-07-18 10:19:46 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2006-07-18 10:19:46 +0000 |
commit | ad319e77f429d4ee47be8497f3b445269f728950 (patch) | |
tree | 32beab2263b7b8274bfbd93bf174a3d07eaac377 /usr.bin/look/look.c | |
parent | 92077a1d25a7eb87554cf66d00e2e5fa223c106a (diff) | |
download | FreeBSD-src-ad319e77f429d4ee47be8497f3b445269f728950.zip FreeBSD-src-ad319e77f429d4ee47be8497f3b445269f728950.tar.gz |
Remove break after return.
Diffstat (limited to 'usr.bin/look/look.c')
-rw-r--r-- | usr.bin/look/look.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/look/look.c b/usr.bin/look/look.c index 68d6755..e6fd1b8 100644 --- a/usr.bin/look/look.c +++ b/usr.bin/look/look.c @@ -276,10 +276,8 @@ linear_search(wchar_t *string, unsigned char *front, unsigned char *back) switch (compare(string, front, back)) { case EQUAL: /* Found it. */ return (front); - break; case LESS: /* No such string. */ return (NULL); - break; case GREATER: /* Keep going. */ break; } |