Skip to content

Commit

Permalink
handled EOF case
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Jul 12, 2024
1 parent 4cdbcef commit b5d55de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions display/d.labels/do_labels.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@ int scan_ref(char *buf)
FALLTHROUGH;
default:
return 0;
case EOF:
return 0;
}
}

Expand Down

0 comments on commit b5d55de

Please sign in to comment.