29 lines
723 B
Diff
29 lines
723 B
Diff
|
From ae52c486ef5e71445aa0adfdac30124abff7da46 Mon Sep 17 00:00:00 2001
|
||
|
From: Andreas Stieger <astieger@suse.com>
|
||
|
Date: Fri, 19 Aug 2016 23:09:13 +0200
|
||
|
Subject: [PATCH] common: Follow-up to 14479e2, fix void return in non-void
|
||
|
function
|
||
|
|
||
|
* simple-pwquery.c (agent_open): return -1 in errout label as documented.
|
||
|
|
||
|
Signed-off-by: Andreas Stieger <astieger@suse.com>
|
||
|
---
|
||
|
common/simple-pwquery.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/common/simple-pwquery.c b/common/simple-pwquery.c
|
||
|
index 240451b..0c3233b 100644
|
||
|
--- a/common/simple-pwquery.c
|
||
|
+++ b/common/simple-pwquery.c
|
||
|
@@ -285,6 +285,7 @@ agent_open (assuan_context_t *ctx)
|
||
|
errout:
|
||
|
assuan_release (*ctx);
|
||
|
*ctx = NULL;
|
||
|
+ return -1;
|
||
|
}
|
||
|
|
||
|
|
||
|
--
|
||
|
2.6.6
|
||
|
|