From: Johannes Schindelin Date: Thu, 4 Aug 2016 16:07:03 +0000 (+0200) Subject: nedmalloc: fix misleading indentation X-Git-Tag: v2.9.3~9^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e70105954fd85fcb198a4b5b95378ecc3e6beef;p=thirdparty%2Fgit.git nedmalloc: fix misleading indentation Some code in nedmalloc is indented in a funny way that could be misinterpreted as if a line after a for loop was included in the loop body, when it is not. GCC 6 complains about this in DEVELOPER=YepSure mode. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/compat/nedmalloc/nedmalloc.c b/compat/nedmalloc/nedmalloc.c index a0a16eb1bb..677d1b2794 100644 --- a/compat/nedmalloc/nedmalloc.c +++ b/compat/nedmalloc/nedmalloc.c @@ -938,10 +938,10 @@ void **nedpindependent_comalloc(nedpool *p, size_t elems, size_t *sizes, void ** void **ret; threadcache *tc; int mymspace; - size_t i, *adjustedsizes=(size_t *) alloca(elems*sizeof(size_t)); - if(!adjustedsizes) return 0; - for(i=0; i