From 1ea9ffdac436c3cfba48ff2c2bb27b48eb67eda0 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Sat, 15 Jun 2013 14:38:00 +0100 Subject: [PATCH] Suppress warnings about uninitialized use of eof. Copied from Perforce Change: 182750 ServerID: perforce.ravenbrook.com --- mps/code/eventcnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mps/code/eventcnv.c b/mps/code/eventcnv.c index d381c47e3fc..99fa7b60642 100644 --- a/mps/code/eventcnv.c +++ b/mps/code/eventcnv.c @@ -226,7 +226,7 @@ static void readLog(FILE *stream) Event event = &eventUnion; EventCode code; Res res; - Bool eof; + Bool eof = FALSE; /* suppress warnings about uninitialized use */ /* Read and parse event. */ res = eventRead(&eof, event, stream);