diff options
Diffstat (limited to 'plugins/regex.c')
| -rw-r--r-- | plugins/regex.c | 3 |
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"); |
