From 0a1ffa1deb49643ee4b3beab484524e1b14faef1 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Mon, 19 Feb 2018 12:28:37 -0700 Subject: [PATCH] Fix warnings on msvc. Note that the lack of a return shouldn't cause a problem, because we never actually call yypeek in a case where the return is needed, but it's still more future-proof to have it. --- src/engine/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/scan.c b/src/engine/scan.c index 77ecee94e..0c27b4bed 100644 --- a/src/engine/scan.c +++ b/src/engine/scan.c @@ -218,6 +218,7 @@ int yypeek() ungetc( ch, incp->file ); return ch; } + return EOF; } /*