aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/include-stack.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}