diff options
author | Stefan Beller <sbeller@google.com> | 2017-06-30 17:28:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-05 13:53:12 -0700 |
commit | 201c14e375bfc0b81c6d7e12d1bae3ba22ce8038 (patch) | |
tree | 73c591c7f1435838255b5018538d8da0ce9d91ed /t | |
parent | hashmap: migrate documentation from Documentation/technical into header (diff) | |
download | tgif-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 't')
0 files changed, 0 insertions, 0 deletions