libafscp: Move server lookup inside AFSCP_DEBUG
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 19 Feb 2013 17:46:04 +0000 (17:46 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Fri, 22 Feb 2013 21:03:39 +0000 (13:03 -0800)
commit86c7369ffadecb0666f75c87469370b66132877f
tree2dc5028b310304aeb22fd03b09c577dc6c00823d
parent735c9cff53bbf6f2b250a719507d7909e77c48e2
libafscp: Move server lookup inside AFSCP_DEBUG

We only use the results of the server lookup when AFSCP_DEBUG
is defined, so only bother actually doing the lookup when that
is set.

Caught by clang-analyzer

Change-Id: If79177e9d06817592b0630db7050cf3d40f3ee5f
Reviewed-on: http://gerrit.openafs.org/9197
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/libafscp/afscp_volume.c