task_queue.c - Prevent warning

This commit is contained in:
twinaphex 2016-02-09 18:39:41 +01:00
parent d9de92f48b
commit 9af5b44453

View File

@ -398,7 +398,9 @@ bool task_queue_ctl(enum task_queue_ctl_state state, void *data)
return task_threaded_enable;
case TASK_QUEUE_CTL_INIT:
{
#ifdef HAVE_THREADS
bool *boolean_val = (bool*)data;
#endif
impl_current = &impl_regular;
#ifdef HAVE_THREADS