Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sun, 26 May 2013 11:44:03 -0700
changeset 7225 4070fc496bc1
parent 7224 a86520fe8d79
child 7226 1c440669e32c
Fixed compiler warning
src/video/windows/SDL_windowskeyboard.c
--- a/src/video/windows/SDL_windowskeyboard.c	Sun May 26 11:39:19 2013 -0700
+++ b/src/video/windows/SDL_windowskeyboard.c	Sun May 26 11:44:03 2013 -0700
@@ -1351,7 +1351,6 @@
     SIZE candsizes[MAX_CANDLIST];
     SIZE maxcandsize = {0};
     HBITMAP hbm = NULL;
-    BYTE *bits = NULL;
     const int candcount = SDL_min(SDL_min(MAX_CANDLIST, videodata->ime_candcount), videodata->ime_candpgsize);
     SDL_bool vertical = videodata->ime_candvertical;
 
@@ -1433,7 +1432,7 @@
             ;
     }
 
-    bits = StartDrawToBitmap(hdc, &hbm, size.cx, size.cy);
+    StartDrawToBitmap(hdc, &hbm, size.cx, size.cy);
 
     SelectObject(hdc, listpen);
     SelectObject(hdc, listbrush);