Commit df521c32 authored by Simon Marlow's avatar Simon Marlow
Browse files

fix warning

parent 18896fa2
...@@ -835,8 +835,7 @@ lnat calcLiveWords (void) ...@@ -835,8 +835,7 @@ lnat calcLiveWords (void)
{ {
nat g; nat g;
lnat live; lnat live;
generation *gen;
live = 0; live = 0;
for (g = 0; g < RtsFlags.GcFlags.generations; g++) { for (g = 0; g < RtsFlags.GcFlags.generations; g++) {
live += genLiveWords(&generations[g]); live += genLiveWords(&generations[g]);
......
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