rts: Fix "variable set but not used" warning
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 1 Aug 2017 02:33:51 +0000 (22:33 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 1 Aug 2017 12:57:15 +0000 (08:57 -0400)
commit74c70166dc70486f3535d3c9d12071ea8a447389
tree7e98215e4229e50d0787977dc4db6a0756744ad4
parent29f07b1de78198fa29dabafd7bf1f1f4ecdc7f54
rts: Fix "variable set but not used" warning

gcc complains about this while building with Hadrian,
```
rts/RetainerProfile.c: In function ‘computeRetainerSet’:

rts/RetainerProfile.c:1758:18: error:
     error: variable ‘rtl’ set but not used
[-Werror=unused-but-set-variable]
         RetainerSet *rtl;
                      ^~~
     |
1758 |     RetainerSet *rtl;
     |                  ^
```

Reviewers: austin, erikd, simonmar, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3801
rts/RetainerProfile.c