Don't bother testing if a uint8_t is > 256 -- that test is always false.

This commit is contained in:
simonb 2002-05-09 02:44:39 +00:00
parent 767793d996
commit 5457f78a34
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs_ls.c,v 1.1 1999/04/14 11:32:50 drochner Exp $ */
/* $NetBSD: ufs_ls.c,v 1.2 2002/05/09 02:44:39 simonb Exp $ */
/*
* Copyright (c) 1993
@ -93,7 +93,7 @@ ufs_ls(path)
if (dp->d_ino != (ino_t) 0) {
char *t;
if ((dp->d_namlen > MAXNAMLEN + 1) ||
if (/* (dp->d_namlen > MAXNAMLEN + 1) || */
(dp->d_type >
sizeof(typestr) / sizeof(char *) - 1) ||
!(t = typestr[dp->d_type])) {