From: Christophe Jaillet Date: Mon, 26 Mar 2018 19:58:46 +0000 (+0000) Subject: Fix a potential compiler warning about uninitialized variable. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2742 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=144e2d8451c92a4f068ef42ee7ed2cdb91c4bbf7;p=thirdparty%2Fapache%2Fhttpd.git Fix a potential compiler warning about uninitialized variable. PR 59821 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1827783 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_mutex.c b/server/util_mutex.c index fedd0332a59..6c5fea1218e 100644 --- a/server/util_mutex.c +++ b/server/util_mutex.c @@ -505,7 +505,7 @@ AP_CORE_DECLARE(void) ap_dump_mutexes(apr_pool_t *p, server_rec *s, apr_file_t * for (idx = apr_hash_first(p, mxcfg_by_type); idx; idx = apr_hash_next(idx)) { mutex_cfg_t *mxcfg; - const char *name, *mech; + const char *name, *mech = ""; const void *name_; const char *dir = ""; apr_hash_this(idx, &name_, NULL, NULL);