Skip to content

Commit

Permalink
fix bregex for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz authored and arogge committed Nov 2, 2022
1 parent 921f1a4 commit a00f8fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/lib/bregex.cc
Expand Up @@ -1390,7 +1390,8 @@ void re_registers_to_regmatch(regexp_registers_t old_regs,
int regexec(regex_t* preg,
const char* string,
size_t nmatch,
regmatch_t pmatch[])
regmatch_t pmatch[],
[[maybe_unused]] int eflags)
{
int status;
int len = strlen(string);
Expand Down

0 comments on commit a00f8fc

Please sign in to comment.