In Perl_safesyscalloc(), only declare total_size if conditional code needs it.
authorNicholas Clark <nick@ccl4.org>
Tue, 29 Mar 2011 14:06:50 +0000 (15:06 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 18 May 2011 19:26:54 +0000 (20:26 +0100)
commit4b1123b95676547d1127156b465c8067d112936e
tree92cad2668eaeacd605eb363cc30a887b059cb975
parent72d749260665bf3a57913ccb056f7d8cba9a2d99
In Perl_safesyscalloc(), only declare total_size if conditional code needs it.

gcc 4.6.0 warns about variables that are set but never read, and for most
combinations of conditional compilation options, total_size is never read.
So avoid declaring or setting it if it's not actually going to be used later.
util.c