WinRT: removed an unused variable from DXGI-based display-detection code
authorDavid Ludwig
Sun, 06 Dec 2015 17:07:37 -0500
changeset 994846ba1492b14b
parent 9947 3b68fd2503df
child 9949 67cc0111da82
WinRT: removed an unused variable from DXGI-based display-detection code
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Sun Dec 06 17:06:40 2015 -0500
     1.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Sun Dec 06 17:07:37 2015 -0500
     1.3 @@ -386,7 +386,6 @@
     1.4          return -1;
     1.5      }
     1.6  
     1.7 -    int adapterIndex = 0;
     1.8      for (int adapterIndex = 0; ; ++adapterIndex) {
     1.9          if (WINRT_AddDisplaysForAdapter(_this, dxgiFactory2, adapterIndex) < 0) {
    1.10              break;