X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fdlmalloc%2Fdlmalloc.c;h=18cf0d6511db5bd30a15ec6cb1440d5c2bf84b92;hp=e0bebcdff03539b030fe03da8b88ce4c259208f6;hb=29387e76cd5cd340fe7d811dc9830931d3d0ec9b;hpb=1aba8d4e33b2a020709f81182709c7de7a728c76 diff --git a/opt/dlmalloc/dlmalloc.c b/opt/dlmalloc/dlmalloc.c index e0bebcd..18cf0d6 100644 --- a/opt/dlmalloc/dlmalloc.c +++ b/opt/dlmalloc/dlmalloc.c @@ -3836,7 +3836,7 @@ static void* mmap_alloc(mstate m, size_t nb) { /* Realloc using mmap */ static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) { size_t oldsize = chunksize(oldp); - flags = flags; /* placate people compiling -Wunused */ + (void) flags; if (is_small(nb)) /* Can't shrink mmap regions below small size */ return 0; /* Keep old chunk if big enough but not too big */ @@ -6262,4 +6262,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif