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.
This commit is contained in:
Travis Cross 2014-04-12 04:44:45 +00:00
parent 3f8cf4a59d
commit 538cdd378c
1 changed files with 1 additions and 1 deletions

View File

@ -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;