From: Ruediger Pluem Date: Mon, 30 Mar 2009 13:14:29 +0000 (+0000) Subject: * Removed unused variables. X-Git-Tag: 2.3.3~748 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a9a1d197a1b869a2ec758862866e6c00e291464;p=apache * Removed unused variables. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759954 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cluster/mod_heartbeat.c b/modules/cluster/mod_heartbeat.c index f747e8d44e..255d30ce46 100644 --- a/modules/cluster/mod_heartbeat.c +++ b/modules/cluster/mod_heartbeat.c @@ -114,7 +114,6 @@ static int hb_monitor(hb_ctx_t *ctx, apr_pool_t *p) static int hb_watchdog_init(server_rec *s, const char *name, apr_pool_t *pool) { - apr_status_t rv; hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); ap_mpm_query(AP_MPMQ_HARD_LIMIT_THREADS, &ctx->thread_limit); @@ -125,15 +124,11 @@ static int hb_watchdog_init(server_rec *s, const char *name, apr_pool_t *pool) static int hb_watchdog_exit(server_rec *s, const char *name, apr_pool_t *pool) { - apr_status_t rv; - hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); - return OK; } static int hb_watchdog_step(server_rec *s, const char *name, apr_pool_t *pool) { - apr_status_t rv; hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); if (!ctx->active || strcmp(name, AP_WATCHDOG_SINGLETON)) { @@ -172,8 +167,6 @@ static const char *cmd_hb_address(cmd_parms *cmd, void *dconf, const char *addr) { apr_status_t rv; - const char *tmpdir = NULL; - char *path; char *host_str; char *scope_id; apr_port_t port = 0;