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