summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-06-30 17:28:29 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-05 13:53:12 -0700
commit201c14e375bfc0b81c6d7e12d1bae3ba22ce8038 (patch)
tree73c591c7f1435838255b5018538d8da0ce9d91ed /grep.c
parenthashmap: migrate documentation from Documentation/technical into header (diff)
downloadtgif-201c14e375bfc0b81c6d7e12d1bae3ba22ce8038.tar.xz
attr.c: drop hashmap_cmp_fn cast
MAke the code more readable and less error prone by avoiding the cast of the compare function pointer in hashmap_init, but instead have the correctly named void pointers to casted to the specific data structure. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.c')
0 files changed, 0 insertions, 0 deletions