summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2017-03-16 18:21:21 +0100
committerGabriel Scherer <gabriel.scherer@gmail.com>2017-03-16 18:21:21 +0100
commit1a8af593ad2c179d2f30dede6f88f71be54f40c0 (patch)
tree662663c9d1eb34f00d2700f2298eb410eb4e4a5a
parentcb81cc6fe27df42ea1651faee0e6899ccd2a9e5d (diff)
parent36350a1d75dee5798b2e46bc7373dc7ceceaec27 (diff)
downloadocaml-1a8af593ad2c179d2f30dede6f88f71be54f40c0.tar.gz
Merge branch 'compare-stack-refactor-null' into trunk
-rw-r--r--byterun/compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/compare.c b/byterun/compare.c
index d12e47f514..387ff668b7 100644
--- a/byterun/compare.c
+++ b/byterun/compare.c
@@ -47,7 +47,7 @@ static void compare_free_stack(struct compare_stack* stk)
{
if (stk->stack != stk->init_stack) {
free(stk->stack);
- stk->stack = 0;
+ stk->stack = NULL;
}
}