From 021c98fa741d57e7865f3b13ac05b90c6d3fb579 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sat, 12 Apr 2014 04:44:45 +0000 Subject: [PATCH] Hide warning about sometimes initialized variable The rc variable here was always initialized but the compiler couldn't see that because of the lack of an unconditional else clause. --- src/mod/applications/mod_memcache/mod_memcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_memcache/mod_memcache.c b/src/mod/applications/mod_memcache/mod_memcache.c index 740fe54954..0806e7f0b4 100755 --- a/src/mod/applications/mod_memcache/mod_memcache.c +++ b/src/mod/applications/mod_memcache/mod_memcache.c @@ -154,7 +154,7 @@ SWITCH_STANDARD_API(memcache_function) uint32_t flags = 0; unsigned int server_count = 0; - memcached_return rc; + memcached_return rc = 0; memcached_st *memcached = NULL; memcached_stat_st *stat = NULL; memcached_server_st *server_list;