Explorar o código

WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV

David Ludwig %!s(int64=12) %!d(string=hai) anos
pai
achega
73dfcdcfe1
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/thread/stdcpp/SDL_sysmutex.cpp

+ 0 - 4
src/thread/stdcpp/SDL_sysmutex.cpp

@@ -65,8 +65,6 @@ extern "C"
 int
 SDL_mutexP(SDL_mutex * mutex)
 {
-    SDL_threadID threadID = SDL_ThreadID();
-    DWORD realThreadID = GetCurrentThreadId();
     if (mutex == NULL) {
         SDL_SetError("Passed a NULL mutex");
         return -1;
@@ -86,8 +84,6 @@ extern "C"
 int
 SDL_mutexV(SDL_mutex * mutex)
 {
-    SDL_threadID threadID = SDL_ThreadID();
-    DWORD realThreadID = GetCurrentThreadId();
     if (mutex == NULL) {
         SDL_SetError("Passed a NULL mutex");
         return -1;