OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1488-gc92f04a
Gerrit Code Review
gerrit@openafs.org
Sun, 7 Aug 2011 08:56:52 -0700 (PDT)
The following commit has been merged in the master branch:
commit c92f04af6094ce04b1541a1b23b254d3c1421290
Author: Garrett Wollman <wollman@csail.mit.edu>
Date: Sat Aug 6 23:49:10 2011 -0400
butc: avoid testing stack garbage; remove dead initializer
"code" is unconditionally set early in saveDbToTape() so there's
no need to initialize it. On the other hand, dumpEntry.id is used
before dumpEntry is initialized, so set it to what appears to be
the expected value before any non-local exits could cause it to be
inspected.
Change-Id: I133f8e84e46d0faedf3c9683330d92158bcd8935
Found-by: clang static analyzer
Reviewed-on: http://gerrit.openafs.org/5166
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/butc/tcudbprocs.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository