From 9d6cfb15e7c85da2005f8c2ea4a9f4ab02fb246a Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Tue, 7 Jun 2011 14:55:15 -0700 Subject: [PATCH] Style cleanup. --- tests/mem_functions.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index 80b1148a..27542a47 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -5468,10 +5468,9 @@ static test_return_t test_verbosity(memcached_st *memc) static test_return_t test_server_failure(memcached_st *memc) { - memcached_st *local_memc; memcached_server_instance_st instance= memcached_server_instance_by_position(memc, 0); - local_memc= memcached_create(NULL); + memcached_st *local_memc= memcached_create(NULL); memcached_server_add(local_memc, memcached_server_name(instance), memcached_server_port(instance)); memcached_behavior_set(local_memc, MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT, 2); -- 2.30.2