aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/include-stack.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-06 00:46:10 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-06 00:46:10 +0100
commit430842958d875624ae8d1f2f9bc8b706cb20caf3 (patch)
tree7e4e4a61bc8eda5eae3e86e95a0a453486a54a11 /src/mds-kbdc/include-stack.c
parentmds-kbdc: create compiled versions of C(KEYS) and C(STRING) so we do not have to convert back and forth between UTF-8 and UTF-16 (diff)
downloadmds-430842958d875624ae8d1f2f9bc8b706cb20caf3.tar.gz
mds-430842958d875624ae8d1f2f9bc8b706cb20caf3.tar.bz2
mds-430842958d875624ae8d1f2f9bc8b706cb20caf3.tar.xz
mds-kbdc: variables
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-kbdc/include-stack.c')
-rw-r--r--src/mds-kbdc/include-stack.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mds-kbdc/include-stack.c b/src/mds-kbdc/include-stack.c
index dd2bc98..d86374e 100644
--- a/src/mds-kbdc/include-stack.c
+++ b/src/mds-kbdc/include-stack.c
@@ -109,18 +109,14 @@ void mds_kbdc_include_stack_begin(mds_kbdc_parsed_t* restrict result_)
/**
* Mark the root of the tree as no longer being visited,
* and release clean up after the use of this module
- *
- * This function is guaranteed not to modify `errno`
*/
void mds_kbdc_include_stack_end(void)
{
- int saved_errno = errno;
latest_save = NULL;
result->pathname = original_pathname;
result->source_code = original_source_code;
free(includes), includes = NULL;
includes_size = includes_ptr = 0;
- errno = saved_errno;
}