summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-12-06 15:09:22 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-06 15:09:22 -0800
commitf0cf2fee5d37384d5650477e6bdca2be68075042 (patch)
treeb644213d68f95ca7beeb2c41e9368b375e5e3398
parentMerge branch 'rs/use-skip-prefix-more' (diff)
parentgrep: don't return an expression from pcre2_free() (diff)
downloadtgif-f0cf2fee5d37384d5650477e6bdca2be68075042.tar.xz
Merge branch 'hi/grep-do-not-return-void'
Code cleanup. * hi/grep-do-not-return-void: grep: don't return an expression from pcre2_free()
-rw-r--r--grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grep.c b/grep.c
index b7ae5a442a..0552b127c1 100644
--- a/grep.c
+++ b/grep.c
@@ -26,7 +26,7 @@ static void *pcre2_malloc(PCRE2_SIZE size, MAYBE_UNUSED void *memory_data)
static void pcre2_free(void *pointer, MAYBE_UNUSED void *memory_data)
{
- return free(pointer);
+ free(pointer);
}
#endif