Commit 1bc174a4 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

vlist.c: vlistIsInitialized bug fix

parent 48df0636
......@@ -16,6 +16,7 @@
static int VLIST_Debug = 0;
static int vlistIsInitialized = 0;
static void vlist_initialize(void);
#if defined (HAVE_LIBPTHREAD)
......@@ -28,8 +29,6 @@ static pthread_once_t _vlist_init_thread = PTHREAD_ONCE_INIT;
#else
static int vlistIsInitialized = 0;
# define VLIST_INIT() \
if ( vlistIsInitialized == FALSE ) vlist_initialize()
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment