]> granicus.if.org Git - apache/commitdiff
On the trunk:
authorStefan Eissing <icing@apache.org>
Thu, 5 Jul 2018 10:18:46 +0000 (10:18 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 5 Jul 2018 10:18:46 +0000 (10:18 +0000)
Silencing a gcc uninitialized warning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1835117 13f79535-47bb-0310-9956-ffa450edef68

modules/md/md_reg.c

index 459c15f157cd2803fdeb9ba225decb1a36cafd6b..c269e0a9acee48dc9f593fb6e6dbc6c9f2336083 100644 (file)
@@ -579,7 +579,7 @@ static apr_status_t creds_load(void *baton, apr_pool_t *p, apr_pool_t *ptemp, va
     md_reg_t *reg = baton;
     md_pkey_t *privkey;
     apr_array_header_t *pubcert;
-    md_creds_t *creds, **pcreds;
+    md_creds_t *creds = NULL, **pcreds;
     const md_t *md;
     md_cert_state_t cert_state;
     md_store_group_t group;