libadmin: Fix a lot of dead assignments in vsprocs
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 21 Feb 2013 20:36:19 +0000 (20:36 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Feb 2013 19:29:20 +0000 (11:29 -0800)
commitee0d57bb488e9fd74b46547273904a9821e20c57
tree6243f47a31e400a779a3f2cd0f9d0307b47ee74b
parentc35c167d446810b3e5952b6b753632c0e4341f2c
libadmin: Fix a lot of dead assignments in vsprocs

Tidy up a lot of places where we initialise a variable, then
immediately assign a proper value to it, or store a return value
that we don't actually care about.

Caught by clang-analyzer

Change-Id: Icf0ec713dac6f2c4f0a60e8ead52a8d3e19381f0
Reviewed-on: http://gerrit.openafs.org/9205
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/libadmin/vos/vsprocs.c