From dcae8af5020b255bd353c86d33ed17f1a805d728 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Dec 2014 15:27:15 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kbdc/include-stack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mds-kbdc/include-stack.c b/src/mds-kbdc/include-stack.c index c7f0532..ee9186f 100644 --- a/src/mds-kbdc/include-stack.c +++ b/src/mds-kbdc/include-stack.c @@ -99,7 +99,6 @@ int mds_kbdc_include_stack_dump(size_t ptr) */ void mds_kbdc_include_stack_begin(mds_kbdc_parsed_t* restrict result_) { - latest_save = NULL; result = result_; original_pathname = result_->pathname; original_source_code = result_->source_code; @@ -135,7 +134,7 @@ int mds_kbdc_include_stack_push(const mds_kbdc_tree_include_t* restrict tree, vo int saved_errno; if (includes_ptr == includes_size) - fail_if (xxrealloc(old, includes, includes_size += 4, mds_kbdc_tree_include_t*)); + fail_if (xxrealloc(old, includes, includes_size += 4, const mds_kbdc_tree_include_t*)); fail_if (xmalloc(*data, 3, void*)); -- cgit v1.2.3-70-g09d2