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:
parent
3f8cf4a59d
commit
538cdd378c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue