From d5d3f564bbc716d2a9f3d534c97d3baff77dda59 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Mar 2024 02:48:07 -0400 Subject: Remove some shadowed variables --- parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index d44afda0..68be4026 100644 --- a/parse.c +++ b/parse.c @@ -233,14 +233,14 @@ static void expect_str( // Helper for matching closing parens with good error messages // static void expect_closing( - parse_ctx_t *ctx, const char **pos, const char *closing, const char *fmt, ...) { + parse_ctx_t *ctx, const char **pos, const char *close_str, const char *fmt, ...) { const char *start = *pos; spaces(pos); - if (match(pos, closing)) + if (match(pos, close_str)) return; const char *eol = strchr(*pos, '\n'); - const char *next = strstr(*pos, closing); + const char *next = strstr(*pos, close_str); const char *end = eol < next ? eol : next; -- cgit v1.2.3