summaryrefslogtreecommitdiff
path: root/src/core/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ignore.c')
-rw-r--r--src/core/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c
index bf8db04f..d4a92e3c 100644
--- a/src/core/ignore.c
+++ b/src/core/ignore.c
@@ -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);