summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2019-01-09 10:31:26 +0100
committerJoe Orton <jorton@apache.org>2019-01-09 10:31:26 +0100
commit273a1da4df45be2f9b912cf2016c1f3063c45646 (patch)
treeae6d5fe469db631fc7d926138ca7ec1a3894c28d /modules
parentMake mod_dialup.c compile when APR has no thread support. (diff)
downloadapache2-273a1da4df45be2f9b912cf2016c1f3063c45646.tar.xz
apache2-273a1da4df45be2f9b912cf2016c1f3063c45646.zip
* modules/md/md_acme_drive.c (acme_driver_init):
Remove written-but-not-read variable (gcc 8.x warning). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1850834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/md/md_acme_drive.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/md/md_acme_drive.c b/modules/md/md_acme_drive.c
index 34fd37e091..f62fd929e1 100644
--- a/modules/md/md_acme_drive.c
+++ b/modules/md/md_acme_drive.c
@@ -618,7 +618,6 @@ static apr_status_t acme_driver_init(md_proto_driver_t *d)
{
md_acme_driver_t *ad;
apr_status_t rv = APR_SUCCESS;
- int challenges_configured = 0;
ad = apr_pcalloc(d->p, sizeof(*ad));
@@ -635,12 +634,10 @@ static apr_status_t acme_driver_init(md_proto_driver_t *d)
if (d->challenge) {
/* we have been told to use this type */
APR_ARRAY_PUSH(ad->ca_challenges, const char*) = apr_pstrdup(d->p, d->challenge);
- challenges_configured = 1;
}
else if (d->md->ca_challenges && d->md->ca_challenges->nelts > 0) {
/* pre-configured set for this managed domain */
apr_array_cat(ad->ca_challenges, d->md->ca_challenges);
- challenges_configured = 1;
}
else {
/* free to chose. Add all we support and see what we get offered */