mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
fix GRegex GError problem
This commit is contained in:
parent
f852ccae68
commit
33107be748
@ -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…
Reference in New Issue
Block a user