tools: return error code in xfclose
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 7 Apr 2012 14:11:14 +0000 (10:11 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 04:14:12 +0000 (21:14 -0700)
commit9037358b6a49d45ba8170a1d71de8b7c678d4f0f
tree542f9f167493d9071c26a98f64a3318b64f10c30
parent2427cb000cb70cfca5b2a61d4f5f9ca54488fc55
tools: return error code in xfclose

The code variable takes the return code from do_close, but
is then unused.  Return its value instead of systematically
returning 0, avoiding an unused variable warning.

Change-Id: I831b5b81721400ee08106d2ecdbf2b7b8e126348
Reviewed-on: http://gerrit.openafs.org/7123
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
src/tools/xfiles.c