Browse Source

Fixed compile warning

Sam Lantinga 5 years ago
parent
commit
55a2a12ddf
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/video/uikit/SDL_uikitmessagebox.m

+ 0 - 1
src/video/uikit/SDL_uikitmessagebox.m

@@ -151,7 +151,6 @@ UIKit_ShowMessageBoxAlertView(const SDL_MessageBoxData *messageboxdata, int *but
 #if __IPHONE_OS_VERSION_MIN_REQUIRED < 80000
     int i;
     int clickedindex = messageboxdata->numbuttons;
-    const SDL_MessageBoxButtonData *buttons = messageboxdata->buttons;
     UIAlertView *alert = [[UIAlertView alloc] init];
     SDLAlertViewDelegate *delegate = [[SDLAlertViewDelegate alloc] init];