Commit 6f44f99a authored by panne's avatar panne

[project @ 2004-10-03 16:37:42 by panne]

Warning police
parent b89ad0e9
......@@ -3421,7 +3421,6 @@ void
printAllThreads(void)
{
StgTSO *t;
void *label;
# if defined(GRAN)
char time_string[TIME_STR_LEN], node_str[NODE_STR_LEN];
......@@ -3442,8 +3441,10 @@ printAllThreads(void)
for (t = all_threads; t != END_TSO_QUEUE; t = t->global_link) {
debugBelch("\tthread %d @ %p ", t->id, (void *)t);
#if defined(DEBUG)
label = lookupThreadLabel(t->id);
if (label) debugBelch("[\"%s\"] ",(char *)label);
{
void *label = lookupThreadLabel(t->id);
if (label) debugBelch("[\"%s\"] ",(char *)label);
}
#endif
printThreadStatus(t);
debugBelch("\n");
......
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