projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
449f2ec
)
[project @ 2000-01-14 13:38:54 by simonmar]
author
simonmar
<unknown>
Fri, 14 Jan 2000 13:38:54 +0000
(13:38 +0000)
committer
simonmar
<unknown>
Fri, 14 Jan 2000 13:38:54 +0000
(13:38 +0000)
eliminate warning.
ghc/rts/Main.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Main.c
b/ghc/rts/Main.c
index
8dc044a
..
49abe03
100644
(file)
--- 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
*
*
* (c) The GHC Team 1998-1999
*
@@
-120,8
+120,8
@@
int main(int argc, char *argv[])
case Success:
exit_status = EXIT_SUCCESS;
break;
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);
}
}
shutdownHaskellAndExit(exit_status);
}