agent: Improve error handling.
authorJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 15:18:20 +0000 (16:18 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 15:18:20 +0000 (16:18 +0100)
commita1650b1edf80c2526c0576547b3a574e8d30f1fa
tree5f55b660ed42f664ecb9aa869fb99eb16bc27ea1
parenteb957ffc4797fb019c505510295af244baf5be38
agent: Improve error handling.

* agent/trustlist.c (istrusted_internal): Initialize 'err'.
--
There is a plausible path of execution so that a branch condition uses
the uninitialized value.

Found using the Clang Static Analyzer.

Signed-off-by: Justus Winter <justus@g10code.com>
agent/trustlist.c