From: Travis Cross Date: Sat, 12 Apr 2014 04:44:45 +0000 (+0000) Subject: Hide warning about sometimes initialized variable X-Git-Tag: v1.5.12~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=538cdd378c638bcebb4531ef0b11e808be95ce9a;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/src/mod/applications/mod_memcache/mod_memcache.c b/src/mod/applications/mod_memcache/mod_memcache.c index 10e32e93c1..81c509719a 100644 --- a/src/mod/applications/mod_memcache/mod_memcache.c +++ b/src/mod/applications/mod_memcache/mod_memcache.c @@ -230,7 +230,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;