You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2017/10/28 15:53:27 UTC
svn commit: r1813642 - /httpd/httpd/trunk/modules/md/mod_md.c
Author: ylavic
Date: Sat Oct 28 15:53:26 2017
New Revision: 1813642
URL: http://svn.apache.org/viewvc?rev=1813642&view=rev
Log:
mod_md: fix [-Werror=unused-but-set-variable].
Modified:
httpd/httpd/trunk/modules/md/mod_md.c
Modified: httpd/httpd/trunk/modules/md/mod_md.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md.c?rev=1813642&r1=1813641&r2=1813642&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md.c Sat Oct 28 15:53:26 2017
@@ -732,7 +732,6 @@ static apr_status_t run_watchdog(int sta
{
md_watchdog *wd = baton;
apr_status_t rv = APR_SUCCESS;
- md_store_t *store;
md_job_t *job;
apr_time_t next_run, now;
int restart = 0;
@@ -743,7 +742,6 @@ static apr_status_t run_watchdog(int sta
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd->s, APLOGNO(10054)
"md watchdog start, auto drive %d mds", wd->jobs->nelts);
assert(wd->reg);
- store = md_reg_store_get(wd->reg);
for (i = 0; i < wd->jobs->nelts; ++i) {
job = APR_ARRAY_IDX(wd->jobs, i, md_job_t *);