From: simonmar Date: Fri, 14 Jan 2000 13:38:54 +0000 (+0000) Subject: [project @ 2000-01-14 13:38:54 by simonmar] X-Git-Tag: Approximately_9120_patches~5290 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f75c814cd0a68a5757901f325dd0e3b0be867225;p=ghc-hetmet.git [project @ 2000-01-14 13:38:54 by simonmar] eliminate warning. --- 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); }