Commit c8e3bfbf5497626b06a29a3e52ac414f8689f01e

David Ludwig 2015-12-06T17:07:37

WinRT: removed an unused variable from DXGI-based display-detection code

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/winrt/SDL_winrtvideo.cpp b/src/video/winrt/SDL_winrtvideo.cpp
index 237c232..2c25247 100644
--- a/src/video/winrt/SDL_winrtvideo.cpp
+++ b/src/video/winrt/SDL_winrtvideo.cpp
@@ -386,7 +386,6 @@ WINRT_InitModes(_THIS)
         return -1;
     }
 
-    int adapterIndex = 0;
     for (int adapterIndex = 0; ; ++adapterIndex) {
         if (WINRT_AddDisplaysForAdapter(_this, dxgiFactory2, adapterIndex) < 0) {
             break;