viced: Unused sentinel in h_stateVerifyUuuidHash
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 24 Feb 2013 12:36:02 +0000 (12:36 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Mon, 25 Feb 2013 17:59:45 +0000 (09:59 -0800)
commitd09b300a96691b4848760fde02b4d0e741bc2584
tree2bd7e58ffaad6cf60c6feab9d603c994e4ceca9e
parent9894b0ded9212e96308fc7df44005c513e8e6672
viced: Unused sentinel in h_stateVerifyUuuidHash

The 'found' sentinel in h_stateVerifyUuidHash is unused, because
as soon as we set it, we jump out to the 'done' label. Simplify the
function's logic, and remove a static analysis warning, by just
removing the variable.

Caught by clang-analyzer

Change-Id: I02e5ccf857f5d84cd24975b7a1b9d516624ecd64
Reviewed-on: http://gerrit.openafs.org/9250
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/viced/host.c