summaryrefslogtreecommitdiff
path: root/rts/Adjustor.c
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-06-20 23:56:07 -0500
committerAustin Seipp <aseipp@pobox.com>2013-06-20 23:58:36 -0500
commit88e97d9a418e8b830ba1d3259aef351b7fb53e6d (patch)
tree94f5761073abc16964bca964ee6e884c8b84de02 /rts/Adjustor.c
parente4fc6fd0219f967aeb15fdc310ecf5b58ec1255e (diff)
downloadhaskell-88e97d9a418e8b830ba1d3259aef351b7fb53e6d.tar.gz
Initialize ptr to NULL to silence Clang warning.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'rts/Adjustor.c')
-rw-r--r--rts/Adjustor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Adjustor.c b/rts/Adjustor.c
index 9f879de729..789bd691c4 100644
--- a/rts/Adjustor.c
+++ b/rts/Adjustor.c
@@ -335,7 +335,7 @@ createAdjustor(int cconv, StgStablePtr hptr,
)
{
void *adjustor = NULL;
- void *code;
+ void *code = NULL;
switch (cconv)
{