From df521c32ec213d427389228bfbde928ace6a20c5 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 2 Feb 2011 16:04:15 +0000 Subject: [PATCH] fix warning --- rts/sm/Storage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index 6c11065..ae3433a 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -835,8 +835,7 @@ lnat calcLiveWords (void) { nat g; lnat live; - generation *gen; - + live = 0; for (g = 0; g < RtsFlags.GcFlags.generations; g++) { live += genLiveWords(&generations[g]); -- 1.7.10.4