From f75c814cd0a68a5757901f325dd0e3b0be867225 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 14 Jan 2000 13:38:54 +0000 Subject: [PATCH] [project @ 2000-01-14 13:38:54 by simonmar] eliminate warning. --- ghc/rts/Main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/rts/Main.c b/ghc/rts/Main.c index 8dc044a..49abe03 100644 --- a/ghc/rts/Main.c +++ b/ghc/rts/Main.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Main.c,v 1.15 2000/01/14 13:17:16 hwloidl Exp $ + * $Id: Main.c,v 1.16 2000/01/14 13:38:54 simonmar Exp $ * * (c) The GHC Team 1998-1999 * @@ -120,8 +120,8 @@ int main(int argc, char *argv[]) case Success: exit_status = EXIT_SUCCESS; break; - case NoStatus: - barf("main thread completed with no status"); + default: + barf("main thread completed with invalid status"); } shutdownHaskellAndExit(exit_status); } -- 1.7.10.4