malloc: modify compiler warning workarounds
authorBrian Norris <banorris@uci.edu>
Wed, 14 Aug 2013 05:05:23 +0000 (22:05 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 14 Aug 2013 05:05:23 +0000 (22:05 -0700)
commit8e70d2b46a3e66a95d13f091f92450a0c05fe54f
tree75ec1d1a3071bc551d5a93ca154a4186d1d57980
parent130a35155171503883aaf18e57f8957ce63d06e8
malloc: modify compiler warning workarounds

clang will complain when (in a function like this) we try to silence
"unused" warnings with a self-assignment. It's equivalently useless to
just cast to (void), and I think it will still silence the warning it
was originally trying to silence.
malloc.c