aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2015-12-10 17:10:55 +0100
committerMichael Adam <obnox@samba.org>2015-12-10 22:54:16 +0100
commit927a070eb6d80fb155ccc033704522d336789c28 (patch)
treec63d556a1409bc952cbb7d9d150276b2480411f2
parentd98750e7294a50262629d11162e23a927688252a (diff)
downloadpam_wrapper-927a070eb6d80fb155ccc033704522d336789c28.tar.gz
pam_wrapper-927a070eb6d80fb155ccc033704522d336789c28.tar.xz
pam_wrapper-927a070eb6d80fb155ccc033704522d336789c28.zip
libpamtest: Make sure reply is initialized
Fixes a build warning Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--src/libpamtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpamtest.c b/src/libpamtest.c
index 612cdc1..98192ce 100644
--- a/src/libpamtest.c
+++ b/src/libpamtest.c
@@ -198,7 +198,7 @@ static int pamtest_simple_conv(int num_msg,
{
int i, ri;
int ret;
- struct pam_response *reply;
+ struct pam_response *reply = NULL;
const char *prompt;
struct pamtest_conv_ctx *cctx = \
(struct pamtest_conv_ctx *) appdata_ptr;