aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-13 15:27:15 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-13 15:27:15 +0100
commitdcae8af5020b255bd353c86d33ed17f1a805d728 (patch)
treeb19250de263dd9d0038cbaf1275e1f96c43f1a52 /src/mds-kbdc
parentmds-kbdc: beginning on call-stacks (diff)
downloadmds-dcae8af5020b255bd353c86d33ed17f1a805d728.tar.gz
mds-dcae8af5020b255bd353c86d33ed17f1a805d728.tar.bz2
mds-dcae8af5020b255bd353c86d33ed17f1a805d728.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-kbdc')
-rw-r--r--src/mds-kbdc/include-stack.c3
1 files changed, 1 insertions, 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*));