summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusoodan Pataki <akshayapataki123@gmail.com>2026-01-13 17:53:16 +0530
committermmpataki <akshayapataki123@gmail.com>2026-01-13 17:58:58 +0530
commit1fa22a87803a9fd2f38dce55fef45072ab2ea8ed (patch)
tree4edabe81c6319176db1e0c9acedd4bbc82c1abdd
parentd561a63d8b5f6beadca30ab7b7846b387d67929a (diff)
Remove unused label_counter parameter from emit_match_logic
-rw-r--r--plugins/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/regex.c b/plugins/regex.c
index b56515c..8fe7c67 100644
--- a/plugins/regex.c
+++ b/plugins/regex.c
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <string.h>
-static void emit_match_logic(const char *pattern, FILE *out, int *label_counter);
+static void emit_match_logic(const char *pattern, FILE *out);
void regex_transpile(const char *input_body, const ZApi *api)
{
@@ -47,7 +47,7 @@ void regex_transpile(const char *input_body, const ZApi *api)
free(pattern);
}
-static void emit_match_logic(const char *pattern, FILE *out, int * /*label_counter*/)
+static void emit_match_logic(const char *pattern, FILE *out)
{
const char *c = pattern;