vos: Initialise total counters
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 31 Mar 2012 15:59:16 +0000 (11:59 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 01:19:31 +0000 (18:19 -0700)
commit20265ddd78dbe4a7777b17912f2c3f00dbf2a1db
treec3628568ab35997087e7c9102b567b6ed27ed453
parent6c1a7e68c4859573f636dec9b7e4b2ac1f5bb8a4
vos: Initialise total counters

When VolumeStats_int calls DisplayFormat, it isn't interested in
the total counters it provides. So, it doesn't both initialising the
variables it passes in to hold these counters - garbage in, garbage out.

However, this shows up as an uninitialises variable warning, so set them
all to 0 to keep clang happy.

Caught by clang-analyzer

Change-Id: Ia3e1eadde6eac6fa924a4ff9ad566c5c50f9ff40
Reviewed-on: http://gerrit.openafs.org/7095
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/volser/vos.c