summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuhaitz <zuhaitz.zechhub@gmail.com>2026-01-13 15:09:00 +0000
committerGitHub <noreply@github.com>2026-01-13 15:09:00 +0000
commit4bbfca05a25305e330dc27b20db1d8aaf961b7d8 (patch)
tree8363a4348fe4df57c7236e9016cbc6982bc0bbda
parent0e253b90957ef2e8e8105ea65b1ff87d513bca9e (diff)
parenta8ab278b14d65a0a4de0dcfccbddaca6686ec08a (diff)
Merge pull request #37 from mmpataki/main
Remove unused label_counter parameter from emit_match_logic
-rw-r--r--plugins/regex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/regex.c b/plugins/regex.c
index 8fe7c67..fb63986 100644
--- a/plugins/regex.c
+++ b/plugins/regex.c
@@ -36,8 +36,7 @@ void regex_transpile(const char *input_body, const ZApi *api)
fprintf(target, " if (!text) return 0;\n");
fprintf(target, " const char *c = text;\n");
- int label_id = 0;
- emit_match_logic(pattern, target, &label_id);
+ emit_match_logic(pattern, target);
fprintf(target, " return 1;\n");
fprintf(target, "}\n");