diff --git a/display/d.labels/do_labels.c b/display/d.labels/do_labels.c index dbf97bb69a7..9c78e4f27f4 100644 --- a/display/d.labels/do_labels.c +++ b/display/d.labels/do_labels.c @@ -463,6 +463,8 @@ int scan_ref(char *buf) FALLTHROUGH; default: return 0; + case EOF: + return 0; } }