Skip to content

Commit d4301ea

Browse files
committed
nedmalloc: fix misleading indentation
Spotted by GCC 6.1.0. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ce2d159 commit d4301ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compat/nedmalloc/nedmalloc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -938,10 +938,10 @@ void **nedpindependent_comalloc(nedpool *p, size_t elems, size_t *sizes, void **
938938
void **ret;
939939
threadcache *tc;
940940
int mymspace;
941-
size_t i, *adjustedsizes=(size_t *) alloca(elems*sizeof(size_t));
942-
if(!adjustedsizes) return 0;
943-
for(i=0; i<elems; i++)
944-
adjustedsizes[i]=sizes[i]<sizeof(threadcacheblk) ? sizeof(threadcacheblk) : sizes[i];
941+
size_t i, *adjustedsizes=(size_t *) alloca(elems*sizeof(size_t));
942+
if(!adjustedsizes) return 0;
943+
for(i=0; i<elems; i++)
944+
adjustedsizes[i]=sizes[i]<sizeof(threadcacheblk) ? sizeof(threadcacheblk) : sizes[i];
945945
GetThreadCache(&p, &tc, &mymspace, 0);
946946
GETMSPACE(m, p, tc, mymspace, 0,
947947
ret=mspace_independent_comalloc(m, elems, adjustedsizes, chunks));

0 commit comments

Comments
 (0)