提交 420e92a6 authored 作者: Michael Jerris's avatar Michael Jerris

silence solaris warning from missing braces (SFSIP-132)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5cd8bf0e
...@@ -84,7 +84,11 @@ union state { ...@@ -84,7 +84,11 @@ union state {
#include <pthread.h> #include <pthread.h>
#if defined(__sun)
static pthread_once_t once = { PTHREAD_ONCE_INIT };
#else
static pthread_once_t once = PTHREAD_ONCE_INIT; static pthread_once_t once = PTHREAD_ONCE_INIT;
#endif
static int done_once = 1; static int done_once = 1;
static pthread_key_t state_key; static pthread_key_t state_key;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论