remove always true condition in if statement
523aa08f
1 file(s) · +1 −1
| 84 | 84 | if (!argc) { |
|
| 85 | 85 | /* read list from stdin */ |
|
| 86 | 86 | while ((n = getline(&line, &linesiz, stdin)) > 0) { |
|
| 87 | - | if (n && line[n - 1] == '\n') |
|
| 87 | + | if (line[n - 1] == '\n') |
|
| 88 | 88 | line[n - 1] = '\0'; |
|
| 89 | 89 | test(line, line); |
|
| 90 | 90 | } |