From 5dabbd21a3457dfb77786d13ba24721080795570 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Sun, 12 Nov 2017 11:46:36 +0000 Subject: Fix false positive compiler warning "'percent' may be used uninitialized in this function". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1815005 13f79535-47bb-0310-9956-ffa450edef68 --- modules/md/mod_md_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/md/mod_md_config.c') diff --git a/modules/md/mod_md_config.c b/modules/md/mod_md_config.c index 33cc274433..1c68df7f93 100644 --- a/modules/md/mod_md_config.c +++ b/modules/md/mod_md_config.c @@ -556,7 +556,7 @@ static const char *md_config_set_renew_window(cmd_parms *cmd, void *dc, const ch md_srv_conf_t *config = md_config_get(cmd->server); const char *err; apr_interval_time_t timeout; - int percent; + int percent = 0; (void)dc; if (!inside_section(cmd, MD_CMD_MD_SECTION) -- cgit v1.2.3