[Commits] SDL: Fixed compiler warning

libsdl.org revision control commits-owner at libsdl.org
Sun Aug 13 20:39:05 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/dbed7609745d
changeset: 11266:dbed7609745d
user:      Sam Lantinga <slouken at libsdl.org>
date:      Sun Aug 13 20:38:06 2017 -0700
description:
Fixed compiler warning

diffstat:

 src/video/windows/SDL_windowsmodes.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 9152aa462a82 -r dbed7609745d src/video/windows/SDL_windowsmodes.c
--- a/src/video/windows/SDL_windowsmodes.c	Sun Aug 13 20:37:49 2017 -0700
+++ b/src/video/windows/SDL_windowsmodes.c	Sun Aug 13 20:38:06 2017 -0700
@@ -36,7 +36,6 @@
 static void
 WIN_UpdateDisplayMode(_THIS, LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode)
 {
-    SDL_VideoData *vid_data = (SDL_VideoData *) _this->driverdata;
     SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata;
     HDC hdc;
 


More information about the commits mailing list