WinRT: removed an unused variable from DXGI-based display-detection code
authorDavid Ludwig <dludwig@pobox.com>
Sun, 06 Dec 2015 17:07:37 -0500
changeset 9948 46ba1492b14b
parent 9947 3b68fd2503df
child 9949 67cc0111da82
WinRT: removed an unused variable from DXGI-based display-detection code
src/video/winrt/SDL_winrtvideo.cpp
--- a/src/video/winrt/SDL_winrtvideo.cpp	Sun Dec 06 17:06:40 2015 -0500
+++ b/src/video/winrt/SDL_winrtvideo.cpp	Sun Dec 06 17:07:37 2015 -0500
@@ -386,7 +386,6 @@
         return -1;
     }
 
-    int adapterIndex = 0;
     for (int adapterIndex = 0; ; ++adapterIndex) {
         if (WINRT_AddDisplaysForAdapter(_this, dxgiFactory2, adapterIndex) < 0) {
             break;