diff options
author | Rainer Jung <rjung@apache.org> | 2017-11-12 12:46:36 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2017-11-12 12:46:36 +0100 |
commit | 5dabbd21a3457dfb77786d13ba24721080795570 (patch) | |
tree | 699cb9c5710b0bbc893f3893536c8cda2e7adee3 /modules/md/mod_md_config.c | |
parent | mod_watchdog: Correct some log messages and fix (diff) | |
download | apache2-5dabbd21a3457dfb77786d13ba24721080795570.tar.xz apache2-5dabbd21a3457dfb77786d13ba24721080795570.zip |
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
Diffstat (limited to '')
-rw-r--r-- | modules/md/mod_md_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |