diff --git a/cmirror.c b/cmirror.c index 7594397..3a7f3db 100644 --- a/cmirror.c +++ b/cmirror.c @@ -60,7 +60,7 @@ static G_NORETURN G_GNUC_PRINTF(1, 2) void die(const char *restrict fmt, ...) { static GRegex *compile_pattern(char *pattern) { GError *error = NULL; - GRegex *regex = g_regex_new(pattern, 0, 0, &error);; + GRegex *regex = g_regex_new(pattern, 0, 0, &error); if (!regex) die("%s\n", error->message); return regex;