[commit: ghc] master: rts/RetainerProfile: Remove unused local (d77981e)
git at git.haskell.org
git at git.haskell.org
Sat Apr 16 16:20:34 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d77981ed4347e5feb0497d8161af72f8f5e10b65/ghc
>---------------------------------------------------------------
commit d77981ed4347e5feb0497d8161af72f8f5e10b65
Author: Ben Gamari <ben at smart-cactus.org>
Date: Fri Apr 15 11:54:54 2016 +0200
rts/RetainerProfile: Remove unused local
Reported in #11777.
>---------------------------------------------------------------
d77981ed4347e5feb0497d8161af72f8f5e10b65
rts/RetainerProfile.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c
index 6a6a542..42d5f29 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -2068,8 +2068,6 @@ retainerProfile(void)
static nat
sanityCheckHeapClosure( StgClosure *c )
{
- StgInfoTable *info;
-
ASSERT(LOOKS_LIKE_GHC_INFO(c->header.info));
ASSERT(!closure_STATIC(c));
ASSERT(LOOKS_LIKE_PTR(c));
More information about the ghc-commits
mailing list