Remove unused variables.
This commit is contained in:
@@ -473,7 +473,6 @@ pthread_mutex_t my_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
pthread_attr_t attrib;
|
||||
sem_t semaphore;
|
||||
static int enter;
|
||||
static int numwaitingthreads = 0;
|
||||
|
||||
|
||||
//===========================================================================
|
||||
@@ -534,8 +533,6 @@ void ThreadUnlock(void)
|
||||
//===========================================================================
|
||||
void ThreadSetupLock(void)
|
||||
{
|
||||
pthread_mutexattr_t mattrib;
|
||||
|
||||
Log_Print("pthread multi-threading\n");
|
||||
|
||||
threaded = true;
|
||||
@@ -608,8 +605,6 @@ void RunThreadsOn(int workcnt, qboolean showpacifier, void(*func)(int))
|
||||
int i;
|
||||
pthread_t work_threads[MAX_THREADS];
|
||||
void *pthread_return;
|
||||
pthread_attr_t attrib;
|
||||
pthread_mutexattr_t mattrib;
|
||||
int start, end;
|
||||
|
||||
Log_Print("pthread multi-threading\n");
|
||||
|
||||
Reference in New Issue
Block a user