Skip to content

Commit

Permalink
Applications/util/less.c: Remove EOF test as -1 outside unsigned char…
Browse files Browse the repository at this point in the history
… range.
  • Loading branch information
Warren Toomey committed Jan 23, 2025
1 parent 195eda3 commit a1788e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Applications/util/less.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@ int main(int argc, char *argv[]) {

switch (ch) {
case 'q': /* Quit the pager */
case EOF:
looping = 0;
break;
case 'f': /* Move down a screen */
Expand Down

0 comments on commit a1788e9

Please sign in to comment.