瀏覽代碼

WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV

David Ludwig 12 年之前
父節點
當前提交
73dfcdcfe1
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/thread/stdcpp/SDL_sysmutex.cpp

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

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