viced.c: Don't store results of reads unecessarily
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 15 Jun 2010 17:15:34 +0000 (18:15 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Sat, 23 Jul 2011 04:11:24 +0000 (21:11 -0700)
commitba18ea65174dd06a305e3524756aaca6ebb04e9a
tree67e53a9b67ca93ea7e4177b4573a8cc2e7d3e003
parent364d1bec7458b874922f5d1e9be49f7a1f813136
viced.c: Don't store results of reads unecessarily

When we don't need to store the amount of data read from a file,
don't complicate the if() statement by adding a pointless assignment.

Caught by clang-analyzer

Change-Id: I326d894c9b5f7a89f31534c7864e05ea059a03aa
Reviewed-on: http://gerrit.openafs.org/5079
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/viced/viced.c