]> granicus.if.org Git - apache/commitdiff
* Removed unused variables.
authorRuediger Pluem <rpluem@apache.org>
Mon, 30 Mar 2009 13:14:29 +0000 (13:14 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 30 Mar 2009 13:14:29 +0000 (13:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759954 13f79535-47bb-0310-9956-ffa450edef68

modules/cluster/mod_heartbeat.c

index f747e8d44ebba5fb5cf20002f25d12cdc34e6197..255d30ce464c92153caf7f6f8e2fb8e073ef4262 100644 (file)
@@ -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;