You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2019/09/08 10:44:27 UTC

[tcl-rivet] branch quattuor updated: shared variable has te be initialized

This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a commit to branch quattuor
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git


The following commit(s) were added to refs/heads/quattuor by this push:
     new d71eaf2  shared variable has te be initialized
d71eaf2 is described below

commit d71eaf22b71392f816d9b2cc305dce61a8c7e394
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Sun Sep 8 12:44:12 2019 +0200

    shared variable has te be initialized
---
 src/mod_rivet_ng/rivet_worker_mpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mod_rivet_ng/rivet_worker_mpm.c b/src/mod_rivet_ng/rivet_worker_mpm.c
index 988d81e..1d5716f 100644
--- a/src/mod_rivet_ng/rivet_worker_mpm.c
+++ b/src/mod_rivet_ng/rivet_worker_mpm.c
@@ -136,7 +136,7 @@ void Worker_Bridge_Shutdown (void)
     void*               v;
     handler_private*    thread_obj;
     apr_status_t        rv;
-    apr_uint32_t        threads_to_stop;
+    apr_uint32_t        threads_to_stop = 0;
     int                 not_to_be_waited = module_globals->mpm->skip_thread_on_exit;
 
     apr_thread_mutex_lock(module_globals->mpm->job_mutex);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org