Skip to content

Commit

Permalink
Fixed warnings about shadowed global variable.
Browse files Browse the repository at this point in the history
Found by buildbot.
  • Loading branch information
philippwiesemann committed May 12, 2017
1 parent 87e0d81 commit ce01128
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/video/SDL_video.c
Expand Up @@ -3872,8 +3872,6 @@ void SDL_OnApplicationDidReceiveMemoryWarning()

void SDL_OnApplicationWillResignActive()
{
SDL_VideoDevice *_this = SDL_GetVideoDevice();

if (_this) {
SDL_Window *window;
for (window = _this->windows; window != NULL; window = window->next) {
Expand All @@ -3896,8 +3894,6 @@ void SDL_OnApplicationWillEnterForeground()

void SDL_OnApplicationDidBecomeActive()
{
SDL_VideoDevice *_this = SDL_GetVideoDevice();

SDL_SendAppEvent(SDL_APP_DIDENTERFOREGROUND);

if (_this) {
Expand Down

0 comments on commit ce01128

Please sign in to comment.