summaryrefslogtreecommitdiff
path: root/trust
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2017-02-16 15:54:41 +0100
committerDaiki Ueno <ueno@gnu.org>2017-02-16 16:17:14 +0100
commit98f02ef5ebf6966af4937dd2f730d808f13d8a1c (patch)
tree629f37f8a49b0a0c570ad40c645e7658031c6a28 /trust
parent6dfa59954d882971e4516192f18319cbc75b5e4b (diff)
trust: Fix uninitialized value in anchor command
Diffstat (limited to 'trust')
-rw-r--r--trust/anchor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/anchor.c b/trust/anchor.c
index 03cf9e8..a232ead 100644
--- a/trust/anchor.c
+++ b/trust/anchor.c
@@ -612,7 +612,7 @@ p11_trust_anchor (int argc,
bool changed = false;
int action = 0;
int opt;
- int ret;
+ int ret = 0;
enum {
opt_verbose = 'v',