budb: Simplify scanHashTableBlock
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 24 Feb 2013 12:43:27 +0000 (12:43 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Mon, 25 Feb 2013 17:59:52 +0000 (09:59 -0800)
commit2a2cae72d653fbfdada7dddd4b7e5d8aeedea2ee
treec0944f2788fc10af3710eccf650a3411ae5db6bd
parentd09b300a96691b4848760fde02b4d0e741bc2584
budb: Simplify scanHashTableBlock

We don't need to maintain two copies (entryAddr and nextEntryAddr)
of the entry address - rework the while loop so we just use one,
and make clang a little happier

Caught by clang-analyzer

Change-Id: I6f5d76e114ad09a4fd3fc36b4d64f63daa9e1e78
Reviewed-on: http://gerrit.openafs.org/9251
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/budb/db_hash.c