summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2022-05-24 00:23:04 +0000
committerJohannes Schindelin <johannes.schindelin@gmx.de>2023-03-12 20:31:53 +0100
commit86f6f4fa91a9a2310c8f73528a86bf2c52d47fe4 (patch)
tree111dc0661167c52bc38adeb00e71ef2c9ff951b6 /commit.h
parent417fb91b5d193c58a9a31ad6c7901ccfc08ff760 (diff)
nedmalloc: avoid new compile error
GCC v12.x complains thusly: compat/nedmalloc/nedmalloc.c: In function 'DestroyCaches': compat/nedmalloc/nedmalloc.c:326:12: error: the comparison will always evaluate as 'true' for the address of 'caches' will never be NULL [-Werror=address] 326 | if(p->caches) | ^ compat/nedmalloc/nedmalloc.c:196:22: note: 'caches' declared here 196 | threadcache *caches[THREADCACHEMAXCACHES]; | ^~~~~~ ... and it is correct, of course. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions