OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1487-g34cc26a
Gerrit Code Review
gerrit@openafs.org
Sun, 7 Aug 2011 08:56:20 -0700 (PDT)
The following commit has been merged in the master branch:
commit 34cc26a1b11bc8cf8f91996a019ac4b7d21dccd8
Author: Garrett Wollman <wollman@csail.mit.edu>
Date: Sat Aug 6 23:36:14 2011 -0400
butc: initialize startTime before it is used
In some unusual error situations, startTime may be used uninitialized.
Move the initialization up above the first such error condition.
(None of the intervening code can take measurably long to execute
so this should not make any difference in the non-error case.)
Change-Id: I25bf7a5e149540593febec79f9f5111434807514
Found-by: clang static analyzer
Reviewed-on: http://gerrit.openafs.org/5165
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/butc/lwps.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository