Commit bf2f4703f290f2e7c9e0a1c5ac3665e9365c8af4

Sylvain Becker 2019-09-05T10:49:53

SDL_windowsmessagebox.c: remove unused variable

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/windows/SDL_windowsmessagebox.c b/src/video/windows/SDL_windowsmessagebox.c
index 7615ee6..0501fd9 100644
--- a/src/video/windows/SDL_windowsmessagebox.c
+++ b/src/video/windows/SDL_windowsmessagebox.c
@@ -547,7 +547,6 @@ WIN_ShowOldMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
 {
     WIN_DialogData *dialog;
     int i, x, y, retval;
-    const SDL_MessageBoxButtonData *buttons = messageboxdata->buttons;
     HFONT DialogFont;
     SIZE Size;
     RECT TextSize;