Fix 'redundant assignment to itself' Cppcheck warning in GC_scratch_alloc
authorIvan Maidanski <ivmai@mail.ru>
Sat, 14 Jun 2014 16:11:54 +0000 (20:11 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 14 Jun 2014 16:11:54 +0000 (20:11 +0400)
commit813a99e4f646a14c640eb08de7bf40f44235fc94
treebb7740d3fd4b08662f80d2084288e1bb60b9d40a
parent185027e9a4d9176197de1e462abda9a4c13002bd
Fix 'redundant assignment to itself' Cppcheck warning in GC_scratch_alloc

* headers.c (GC_scratch_alloc): Do not reassign "bytes_to_get" local
variable to avoid compiler warning in case of ROUNDUP_PAGESIZE_IF_MMAP
is a no-op (i.e., assign bytes_to_get only once directly to a rounded
value).
headers.c