mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 10:26:41 +00:00
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
220d8ff873
commit
021c98fa74
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user