silence solaris warning from missing braces (SFSIP-132)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5cd8bf0e42
commit
420e92a6f3
|
@ -84,7 +84,11 @@ union state {
|
|||
|
||||
#include <pthread.h>
|
||||
|
||||
#if defined(__sun)
|
||||
static pthread_once_t once = { PTHREAD_ONCE_INIT };
|
||||
#else
|
||||
static pthread_once_t once = PTHREAD_ONCE_INIT;
|
||||
#endif
|
||||
static int done_once = 1;
|
||||
static pthread_key_t state_key;
|
||||
|
||||
|
|
Loading…
Reference in New Issue