aboutsummaryrefslogtreecommitdiffstats
path: root/compat/nedmalloc/nedmalloc.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-05-31 19:10:35 -0700
committerJunio C Hamano <gitster@pobox.com>2022-05-31 19:10:35 -0700
commitdb5b7c3e462a327e07c451d8a6e41b2ba193a1f8 (patch)
treebbfbff91730463c853b0e2338ca127a3ff8e7f81 /compat/nedmalloc/nedmalloc.c
parent1bcf4f6271ad8c952739164d160e97efd579424f (diff)
parent2acf4cf0010379f10b39eba1fb4e0868a5ba4114 (diff)
downloadgit-db5b7c3e462a327e07c451d8a6e41b2ba193a1f8.tar.gz
Merge branch 'js/ci-gcc-12-fixes'
Fixes real problems noticed by gcc 12 and works around false positives. * js/ci-gcc-12-fixes: dir.c: avoid "exceeds maximum object size" error with GCC v12.x nedmalloc: avoid new compile error compat/win32/syslog: fix use-after-realloc
Diffstat (limited to 'compat/nedmalloc/nedmalloc.c')
-rw-r--r--compat/nedmalloc/nedmalloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compat/nedmalloc/nedmalloc.c b/compat/nedmalloc/nedmalloc.c
index edb438a777..2c0ace7075 100644
--- a/compat/nedmalloc/nedmalloc.c
+++ b/compat/nedmalloc/nedmalloc.c
@@ -323,7 +323,6 @@ static NOINLINE void RemoveCacheEntries(nedpool *p, threadcache *tc, unsigned in
}
static void DestroyCaches(nedpool *p) THROWSPEC
{
- if(p->caches)
{
threadcache *tc;
int n;