afsmonitor: Fix set-but-unused variable warnings
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 13 Jul 2011 12:57:12 +0000 (13:57 +0100)
committerDerrick Brashear <shadow@dementia.org>
Wed, 13 Jul 2011 18:12:29 +0000 (11:12 -0700)
commit00061610b9db83ca9510e485e49379eeb6f9e082
tree48f11efb0aa173ddf9d8363f31655ae25be75f81
parentcd8ebb14e59e58bf3c76815d22f3b796faee3827
afsmonitor: Fix set-but-unused variable warnings

Tidy up the afsmonitor code to remove gcc 4.6.0's set-but-unused
variable warnings. These are all assignments to error code
values which are never checked, or reported.

Change-Id: I8d48a6defe848d7cf477ac747aa330fc8ed1b276
Reviewed-on: http://gerrit.openafs.org/4992
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afsmonitor/afsmon-win.c
src/afsmonitor/afsmonitor.c