mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge branch 'gregex-gerror'
This commit is contained in:
commit
fdd870695b
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ static void ignore_init_rec(IGNORE_REC *rec)
|
|||
g_regex_unref(rec->preg);
|
||||
|
||||
if (rec->regexp && rec->pattern != NULL) {
|
||||
GError *re_error;
|
||||
GError *re_error = NULL;
|
||||
|
||||
rec->preg = g_regex_new(rec->pattern, G_REGEX_OPTIMIZE | G_REGEX_RAW | G_REGEX_CASELESS, 0, &re_error);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue