Explorar el Código

WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV

David Ludwig hace 12 años
padre
commit
73dfcdcfe1
Se han modificado 1 ficheros con 0 adiciones y 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;