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:
Michael Jerris 2009-05-15 21:21:06 +00:00
parent 5cd8bf0e42
commit 420e92a6f3
1 changed files with 4 additions and 0 deletions

View File

@ -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;