Skip to content

Commit

Permalink
Remove doubled semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 14, 2022
1 parent 13a1218 commit 3c68d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmirror.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c68d6c

Please sign in to comment.