Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sun, 26 May 2013 11:44:03 -0700
changeset 72254070fc496bc1
parent 7224 a86520fe8d79
child 7226 1c440669e32c
Fixed compiler warning
src/video/windows/SDL_windowskeyboard.c
     1.1 --- a/src/video/windows/SDL_windowskeyboard.c	Sun May 26 11:39:19 2013 -0700
     1.2 +++ b/src/video/windows/SDL_windowskeyboard.c	Sun May 26 11:44:03 2013 -0700
     1.3 @@ -1351,7 +1351,6 @@
     1.4      SIZE candsizes[MAX_CANDLIST];
     1.5      SIZE maxcandsize = {0};
     1.6      HBITMAP hbm = NULL;
     1.7 -    BYTE *bits = NULL;
     1.8      const int candcount = SDL_min(SDL_min(MAX_CANDLIST, videodata->ime_candcount), videodata->ime_candpgsize);
     1.9      SDL_bool vertical = videodata->ime_candvertical;
    1.10  
    1.11 @@ -1433,7 +1432,7 @@
    1.12              ;
    1.13      }
    1.14  
    1.15 -    bits = StartDrawToBitmap(hdc, &hbm, size.cx, size.cy);
    1.16 +    StartDrawToBitmap(hdc, &hbm, size.cx, size.cy);
    1.17  
    1.18      SelectObject(hdc, listpen);
    1.19      SelectObject(hdc, listbrush);