diff --git a/usr.bin/look/look.c b/usr.bin/look/look.c index 68d6755f64b2..e6fd1b8b9e26 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; }