audit: result is only used on AIX
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 11 Jun 2010 23:16:11 +0000 (00:16 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 13 Jun 2010 05:38:20 +0000 (22:38 -0700)
commitc880fe7740864daca59b93d35055c1973d9382a9
tree1c9318c6467d3601dcaa2bd921c69262fc4f5882
parent713b65adaa756b5a66ccb0620d5f2bc50642f2f1
audit: result is only used on AIX

The 'result' variable is only used on AIX - only bother assigning
it when we're building there.

Caught by clang-analyzer

Change-Id: I06848837282ff3f318474f55f2ee013255ad37c8
Reviewed-on: http://gerrit.openafs.org/2138
Reviewed-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/audit/audit.c