diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index 2b011aa3c..9d357bd5a 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -4541,7 +4541,6 @@ SQLite3_result * MySQL_Threads_Handler::SQL3_GlobalStatus(bool _memory) { void MySQL_Threads_Handler::Get_Memory_Stats() { unsigned int i; unsigned int j; - MySQL_Thread *thr=NULL; j=num_threads; #ifdef IDLE_THREADS if (GloVars.global.idle_threads) { @@ -4549,17 +4548,17 @@ void MySQL_Threads_Handler::Get_Memory_Stats() { } #endif // IDLE_THREADS for (i=0;ithread_mutex); thr->Get_Memory_Stats(); pthread_mutex_unlock(&thr->thread_mutex);