Fixed warnings about shadowed global variable.
authorPhilipp Wiesemann
Fri, 12 May 2017 23:01:04 +0200
changeset 11001a194d919972c
parent 11000 f2f47e7b4908
child 11002 ba0ce5b958d2
Fixed warnings about shadowed global variable.

Found by buildbot.
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Fri May 12 23:00:40 2017 +0200
     1.2 +++ b/src/video/SDL_video.c	Fri May 12 23:01:04 2017 +0200
     1.3 @@ -3872,8 +3872,6 @@
     1.4  
     1.5  void SDL_OnApplicationWillResignActive()
     1.6  {
     1.7 -    SDL_VideoDevice *_this = SDL_GetVideoDevice();
     1.8 -
     1.9      if (_this) {
    1.10          SDL_Window *window;
    1.11          for (window = _this->windows; window != NULL; window = window->next) {
    1.12 @@ -3896,8 +3894,6 @@
    1.13  
    1.14  void SDL_OnApplicationDidBecomeActive()
    1.15  {
    1.16 -    SDL_VideoDevice *_this = SDL_GetVideoDevice();
    1.17 -
    1.18      SDL_SendAppEvent(SDL_APP_DIDENTERFOREGROUND);
    1.19  
    1.20      if (_this) {