modules/core/mod_watchdog.c:538: error: UNINITIALIZED_VALUE
  The value read from rv was never initialized.

modules/core/mod_watchdog.c:538:21: 
536.                         }
537.                     }
538.                     ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO(02979)
                         ^
539.                             "Watchdog: Created child worker thread (%s).", w->name);
540.                     wd_server_conf->child_workers++;

static int wd_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog,
                               apr_pool_t *ptemp, server_rec *s)
{
    apr_status_t rv;
    const char *pk = "watchdog_init_module_tag";
    apr_pool_t *pproc = s->process->pool;
    const apr_array_header_t *wl;
    if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG)
        return OK;
    apr_pool_userdata_get((void *)&wd_server_conf, pk, pproc);
    if (!wd_server_conf) {
        if (!(wd_server_conf = apr_pcalloc(pproc, sizeof(wd_server_conf_t))))
            return APR_ENOMEM;
        apr_pool_create(&wd_server_conf->pool, pproc);
        apr_pool_userdata_set(wd_server_conf, pk, apr_pool_cleanup_null, pproc);
    }
    wd_server_conf->s = s;
    if ((wl = ap_list_provider_names(pconf, AP_WATCHDOG_PGROUP,
                                            AP_WATCHDOG_PVERSION))) {
        const ap_list_provider_names_t *wn;
        int i;
        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02974)
                "Watchdog: found parent providers.");
        wn = (ap_list_provider_names_t *)wl->elts;
        for (i = 0; i < wl->nelts; i++) {
            ap_watchdog_t *w = ap_lookup_provider(AP_WATCHDOG_PGROUP,
                                                  wn[i].provider_name,
                                                  AP_WATCHDOG_PVERSION);
            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02975)
                    "Watchdog: Looking for parent (%s).", wn[i].provider_name);
            if (w) {
                if (!w->active) {
                    int status = ap_run_watchdog_need(s, w->name, 1,
                                                      w->singleton);
                    if (status == OK) {
                        w->active = 1;
                    }
                }
                if (w->active) {
                    if ((rv = wd_startup(w, wd_server_conf->pool)) != APR_SUCCESS) {
                        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(01571)
                                "Watchdog: Failed to create parent worker thread.");
                        return rv;
                    }
                    ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO(02976)
                            "Watchdog: Created parent worker thread (%s).", w->name);
                    wd_server_conf->parent_workers++;
                }
            }
        }
    }
    if (wd_server_conf->parent_workers) {
        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01572)
                     "Spawned %d parent worker threads.",
                     wd_server_conf->parent_workers);
    }
    if ((wl = ap_list_provider_names(pconf, AP_WATCHDOG_PGROUP,
                                            AP_WATCHDOG_CVERSION))) {
        const ap_list_provider_names_t *wn;
        int i;
        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02977)
                "Watchdog: found child providers.");
        wn = (ap_list_provider_names_t *)wl->elts;
        for (i = 0; i < wl->nelts; i++) {
            ap_watchdog_t *w = ap_lookup_provider(AP_WATCHDOG_PGROUP,
                                                  wn[i].provider_name,
                                                  AP_WATCHDOG_CVERSION);
            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02978)
                    "Watchdog: Looking for child (%s).", wn[i].provider_name);
            if (w) {
                if (!w->active) {
                    int status = ap_run_watchdog_need(s, w->name, 0,
                                                      w->singleton);
                    if (status == OK) {
                        w->active = 1;
                    }
                }
                if (w->active) {
                    if (w->singleton) {
                        rv = ap_proc_mutex_create(&w->mutex, NULL, wd_proc_mutex_type,
                                                  w->name, s,
                                                  wd_server_conf->pool, 0);
                        if (rv != APR_SUCCESS) {
                            return rv;
                        }
                    }
                    ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO(02979)
                            "Watchdog: Created child worker thread (%s).", w->name);
                    wd_server_conf->child_workers++;
                }
            }
        }
    }
    return OK;
}
['static int wd_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog,\n                               apr_pool_t *ptemp, server_rec *s)\n{\n    apr_status_t rv;\n    const char *pk = "watchdog_init_module_tag";\n    apr_pool_t *pproc = s->process->pool;\n    const apr_array_header_t *wl;\n    if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG)\n        return OK;\n    apr_pool_userdata_get((void *)&wd_server_conf, pk, pproc);\n    if (!wd_server_conf) {\n        if (!(wd_server_conf = apr_pcalloc(pproc, sizeof(wd_server_conf_t))))\n            return APR_ENOMEM;\n        apr_pool_create(&wd_server_conf->pool, pproc);\n        apr_pool_userdata_set(wd_server_conf, pk, apr_pool_cleanup_null, pproc);\n    }\n    wd_server_conf->s = s;\n    if ((wl = ap_list_provider_names(pconf, AP_WATCHDOG_PGROUP,\n                                            AP_WATCHDOG_PVERSION))) {\n        const ap_list_provider_names_t *wn;\n        int i;\n        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02974)\n                "Watchdog: found parent providers.");\n        wn = (ap_list_provider_names_t *)wl->elts;\n        for (i = 0; i < wl->nelts; i++) {\n            ap_watchdog_t *w = ap_lookup_provider(AP_WATCHDOG_PGROUP,\n                                                  wn[i].provider_name,\n                                                  AP_WATCHDOG_PVERSION);\n            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02975)\n                    "Watchdog: Looking for parent (%s).", wn[i].provider_name);\n            if (w) {\n                if (!w->active) {\n                    int status = ap_run_watchdog_need(s, w->name, 1,\n                                                      w->singleton);\n                    if (status == OK) {\n                        w->active = 1;\n                    }\n                }\n                if (w->active) {\n                    if ((rv = wd_startup(w, wd_server_conf->pool)) != APR_SUCCESS) {\n                        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(01571)\n                                "Watchdog: Failed to create parent worker thread.");\n                        return rv;\n                    }\n                    ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO(02976)\n                            "Watchdog: Created parent worker thread (%s).", w->name);\n                    wd_server_conf->parent_workers++;\n                }\n            }\n        }\n    }\n    if (wd_server_conf->parent_workers) {\n        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01572)\n                     "Spawned %d parent worker threads.",\n                     wd_server_conf->parent_workers);\n    }\n    if ((wl = ap_list_provider_names(pconf, AP_WATCHDOG_PGROUP,\n                                            AP_WATCHDOG_CVERSION))) {\n        const ap_list_provider_names_t *wn;\n        int i;\n        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02977)\n                "Watchdog: found child providers.");\n        wn = (ap_list_provider_names_t *)wl->elts;\n        for (i = 0; i < wl->nelts; i++) {\n            ap_watchdog_t *w = ap_lookup_provider(AP_WATCHDOG_PGROUP,\n                                                  wn[i].provider_name,\n                                                  AP_WATCHDOG_CVERSION);\n            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02978)\n                    "Watchdog: Looking for child (%s).", wn[i].provider_name);\n            if (w) {\n                if (!w->active) {\n                    int status = ap_run_watchdog_need(s, w->name, 0,\n                                                      w->singleton);\n                    if (status == OK) {\n                        w->active = 1;\n                    }\n                }\n                if (w->active) {\n                    if (w->singleton) {\n                        rv = ap_proc_mutex_create(&w->mutex, NULL, wd_proc_mutex_type,\n                                                  w->name, s,\n                                                  wd_server_conf->pool, 0);\n                        if (rv != APR_SUCCESS) {\n                            return rv;\n                        }\n                    }\n                    ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, APLOGNO(02979)\n                            "Watchdog: Created child worker thread (%s).", w->name);\n                    wd_server_conf->child_workers++;\n                }\n            }\n        }\n    }\n    return OK;\n}']