Skip to content

Commit b905904

Browse files
committed
delete unnecessary check
1 parent 17583cc commit b905904

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

chapter05/5-11/entab.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ int setTabList(int count, char **arg, int *tabList)
4141
{
4242
int i;
4343

44-
// if (count < 2) /* tab list was not provided */
45-
// return 0; /* signal to use default N */
4644
for (i = 0; --count > 0; ++i)
4745
if (!(tabList[i] = atoi(*++arg)) || tabList[i] < 0) {
4846
printf("Invalid tabstop: %s\n", *arg);

0 commit comments

Comments
 (0)