summaryrefslogtreecommitdiff
path: root/pkg/the_silver_searcher/patch/0001-Remove-after-function-definition.patch
blob: 2bf00aecb69f54aebe2b7477035235f854485583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 76adb32c89184406278fd51a3fe138314b134a12 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 15 Jun 2019 20:58:00 -0700
Subject: [PATCH] Remove `;` after function definition
Upstream: https://github.com/ggreer/the_silver_searcher/pull/1324

---
 src/ignore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ignore.c b/src/ignore.c
index fa41889..bdb03b4 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -39,7 +39,7 @@ const char *ignore_pattern_files[] = {
 
 int is_empty(ignores *ig) {
     return (ig->extensions_len + ig->names_len + ig->slash_names_len + ig->regexes_len + ig->slash_regexes_len == 0);
-};
+}
 
 ignores *init_ignore(ignores *parent, const char *dirname, const size_t dirname_len) {
     ignores *ig = ag_malloc(sizeof(ignores));
-- 
2.20.1