OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-105-g6d118a0
Gerrit Code Review
gerrit@openafs.org
Sun, 19 Sep 2010 22:19:51 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6d118a03664880782730716b1daef1fc63d95540
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sat Sep 11 12:14:09 2010 -0400
vol: Set but not used variables
Fix some set but unused variable warnings in the vol directory.
In VDetachVolume_r, much of the code and variables are only
useful in the FSSYNC_BUILD_CLIENT case. Scope the code
accordingly.
forcefree is only used in the AFS_DEMAND_ATTACH_FS case, so
scope code that sets it accordingly.
Spotted by gcc 4.6
Change-Id: I345db6c9aba2d433ccbbc33fdc10d716c06b913c
Reviewed-on: http://gerrit.openafs.org/2786
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/vol-salvage.c | 8 --------
src/vol/volume.c | 9 ++++++---
2 files changed, 6 insertions(+), 11 deletions(-)
--
OpenAFS Master Repository