Commit d5171bf2 authored by simonmar's avatar simonmar

[project @ 2006-01-18 11:00:35 by simonmar]

Remove dead code
parent 6065bf1c
......@@ -520,8 +520,6 @@ static void
fprint_ccs(FILE *fp, CostCentreStack *ccs, nat max_length)
{
char buf[max_length+1], *p, *buf_end;
nat next_offset = 0;
nat written;
// MAIN on its own gets printed as "MAIN", otherwise we ignore MAIN.
if (ccs == CCS_MAIN) {
......@@ -553,8 +551,6 @@ fprint_ccs(FILE *fp, CostCentreStack *ccs, nat max_length)
if (p >= buf_end) {
sprintf(buf+max_length-4, "...");
break;
} else {
next_offset += written;
}
}
fprintf(fp, "%s", buf);
......
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