From 4c30cecad26f615bddbeaf610d51a2076fd407bb Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 5 Sep 2011 01:21:55 +0000 Subject: Silence various "may be used uninitialized" warnings from GCC caused by it not figuring out the control flow (initialization and use both tied to some other variable). DB2 code not included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25146 dc483132-0cff-0310-8789-dd5450dbe970 --- src/plugins/preauth/pkinit/pkinit_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/preauth/pkinit/pkinit_srv.c b/src/plugins/preauth/pkinit/pkinit_srv.c index 3cd976d1e..1dea777e7 100644 --- a/src/plugins/preauth/pkinit/pkinit_srv.c +++ b/src/plugins/preauth/pkinit/pkinit_srv.c @@ -306,7 +306,7 @@ pkinit_server_verify_padata(krb5_context context, krb5_auth_pack *auth_pack = NULL; krb5_auth_pack_draft9 *auth_pack9 = NULL; pkinit_kdc_context plgctx = NULL; - pkinit_kdc_req_context reqctx; + pkinit_kdc_req_context reqctx = NULL; krb5_preauthtype pa_type; krb5_checksum cksum = {0, 0, 0, NULL}; krb5_data *der_req = NULL; -- cgit