Shut up some Clang warnings

This commit is contained in:
Clownacy 2019-10-29 12:14:48 +00:00
parent ba1361abd5
commit 85890ef1e6
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@ typedef enum FontPixelMode
{ {
FONT_PIXEL_MODE_LCD, FONT_PIXEL_MODE_LCD,
FONT_PIXEL_MODE_GRAY, FONT_PIXEL_MODE_GRAY,
FONT_PIXEL_MODE_MONO, FONT_PIXEL_MODE_MONO
} FontPixelMode; } FontPixelMode;
typedef struct Backend_Surface Backend_Surface; typedef struct Backend_Surface Backend_Surface;

View file

@ -607,6 +607,8 @@ int RestoreSurfaces(void) // Guessed function name - this doesn't exist in the L
// TODO - Inaccurate stack frame // TODO - Inaccurate stack frame
void InitTextObject(const char *name) void InitTextObject(const char *name)
{ {
(void)name; // Unused in this branch
size_t size; size_t size;
const unsigned char *data = FindResource("FONT", "FONT", &size); const unsigned char *data = FindResource("FONT", "FONT", &size);