summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polyp/authkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/authkey.c b/polyp/authkey.c
index e16883d3..35d97b7b 100644
--- a/polyp/authkey.c
+++ b/polyp/authkey.c
@@ -63,7 +63,7 @@ static int generate(int fd, void *ret_data, size_t length) {
static int load(const char *fn, void *data, size_t length) {
int fd = -1;
int writable = 1;
- int unlock = 0, ret;
+ int unlock = 0, ret = -1;
ssize_t r;
assert(fn && data && length);