Fix warnings: static, include, un-initialized vairables

This commit is contained in:
Sylvain
2021-11-23 10:33:12 +01:00
parent 2a24418bd3
commit fae7034901
12 changed files with 27 additions and 24 deletions

View File

@@ -31,6 +31,8 @@
#include <string.h> /* strerr */
#include <errno.h>
#include "SDL_waylandmessagebox.h"
#define MAX_BUTTONS 8 /* Maximum number of buttons supported */
int
@@ -186,7 +188,6 @@ Wayland_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
return SDL_SetError("Waiting on zenity failed: %s", strerror(errno));
}
}
return 0;
}
#endif /* SDL_VIDEO_DRIVER_WAYLAND */