1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 02:45:25 -04:00

Merge branch 'gregex-gerror'

This commit is contained in:
ailin-nemui 2017-01-05 13:07:30 +01:00
commit fdd870695b

View File

@ -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);