Commit c123d679 authored by Simon Marlow's avatar Simon Marlow

use C99-style array initialisers

parent 94ca983b
......@@ -174,12 +174,12 @@ static void deleteThread_(Capability *cap, StgTSO *tso);
#ifdef DEBUG
static char *whatNext_strs[] = {
"(unknown)",
"ThreadRunGHC",
"ThreadInterpret",
"ThreadKilled",
"ThreadRelocated",
"ThreadComplete"
[0] = "(unknown)",
[ThreadRunGHC] = "ThreadRunGHC",
[ThreadInterpret] = "ThreadInterpret",
[ThreadKilled] = "ThreadKilled",
[ThreadRelocated] = "ThreadRelocated",
[ThreadComplete] = "ThreadComplete"
};
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment