From 915f8740e249bf376c2bdb751cd50f9ff513ba23 Mon Sep 17 00:00:00 2001 From: Richard Tucker Date: Mon, 19 Oct 1998 13:34:31 +0100 Subject: [PATCH] Return int after error in read_event to avoid compiler warning Copied from Perforce Change: 20259 ServerID: perforce.ravenbrook.com --- mps/qa/test/testlib/testlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mps/qa/test/testlib/testlib.c b/mps/qa/test/testlib/testlib.c index ab99ba345da..0413a98f8c7 100644 --- a/mps/qa/test/testlib/testlib.c +++ b/mps/qa/test/testlib/testlib.c @@ -1,4 +1,4 @@ -/* $HopeName: MMQA_harness!testlib:testlib.c(trunk.12) $ +/* $HopeName: MMQA_harness!testlib:testlib.c(trunk.13) $ some useful functions for testing the MPS */ #include @@ -364,6 +364,8 @@ int read_event(log_event* event) { } error("unknown event"); } + /* to make compiler happy */ + return 0; }