Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sun, 13 Aug 2017 20:38:06 -0700
changeset 11266dbed7609745d
parent 11265 9152aa462a82
child 11267 69ea9fa6b55c
Fixed compiler warning
src/video/windows/SDL_windowsmodes.c
     1.1 --- a/src/video/windows/SDL_windowsmodes.c	Sun Aug 13 20:37:49 2017 -0700
     1.2 +++ b/src/video/windows/SDL_windowsmodes.c	Sun Aug 13 20:38:06 2017 -0700
     1.3 @@ -36,7 +36,6 @@
     1.4  static void
     1.5  WIN_UpdateDisplayMode(_THIS, LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode)
     1.6  {
     1.7 -    SDL_VideoData *vid_data = (SDL_VideoData *) _this->driverdata;
     1.8      SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata;
     1.9      HDC hdc;
    1.10