X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fdlmalloc%2Fdlmalloc.c;h=18cf0d6511db5bd30a15ec6cb1440d5c2bf84b92;hb=3862b03514c94f37966f61693619e6483ead6045;hp=e0bebcdff03539b030fe03da8b88ce4c259208f6;hpb=cce807f8e1d68a4959163af156aaa64fd3064001;p=pdclib.old 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