Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Wed, 03 Oct 2012 20:22:14 -0700
changeset 65545bcda034e678
parent 6553 2f03111a2105
child 6555 f2c03c06d987
Fixed compiler warning
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Wed Oct 03 19:39:12 2012 -0700
     1.2 +++ b/src/video/SDL_video.c	Wed Oct 03 20:22:14 2012 -0700
     1.3 @@ -943,8 +943,6 @@
     1.4      center.x = window->x + window->w / 2;
     1.5      center.y = window->y + window->h / 2;
     1.6      for (i = 0; i < _this->num_displays; ++i) {
     1.7 -        SDL_VideoDisplay *display = &_this->displays[i];
     1.8 -
     1.9          SDL_GetDisplayBounds(i, &rect);
    1.10          if (SDL_EnclosePoints(&center, 1, &rect, NULL)) {
    1.11              return i;