提交 538cdd37 authored 作者: Travis Cross's avatar Travis Cross

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.
上级 3f8cf4a5
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论