From 144e2d8451c92a4f068ef42ee7ed2cdb91c4bbf7 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 26 Mar 2018 19:58:46 +0000 Subject: [PATCH] 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 --- server/util_mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3