Skip to content

Commit

Permalink
Merge branch 'hi/grep-do-not-return-void'
Browse files Browse the repository at this point in the history
Code cleanup.

* hi/grep-do-not-return-void:
  grep: don't return an expression from pcre2_free()
  • Loading branch information
gitster committed Dec 6, 2019
2 parents 391fb22 + 867fc7f commit f0cf2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f0cf2fe

Please sign in to comment.