OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1436-gba18ea6
Gerrit Code Review
gerrit@openafs.org
Fri, 22 Jul 2011 21:11:55 -0700 (PDT)
The following commit has been merged in the master branch:
commit ba18ea65174dd06a305e3524756aaca6ebb04e9a
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Tue Jun 15 18:15:34 2010 +0100
viced.c: Don't store results of reads unecessarily
When we don't need to store the amount of data read from a file,
don't complicate the if() statement by adding a pointless assignment.
Caught by clang-analyzer
Change-Id: I326d894c9b5f7a89f31534c7864e05ea059a03aa
Reviewed-on: http://gerrit.openafs.org/5079
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/viced/viced.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository