diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-13 18:27:10 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-13 23:27:20 -0700 |
commit | 3e3032cfa044268cee76735823755db274025021 (patch) | |
tree | ead68726685be0e1b6fdccd5c78f132dfb093517 /src/sdl_fb.c | |
parent | 2825d01bf16f8b22f8eb9b92b2c21a654c13e563 (diff) |
*: smattering of random small fixes to silence -Wall
I thought the build was already using -Wall but that seems to not
be the case, maybe got lost somewhere along the line or messed up
in configure.ac
After forcing a build with -Wall -Werror, these showed up.
Fixed up in the obvious way, nothing too scary.
Diffstat (limited to 'src/sdl_fb.c')
-rw-r--r-- | src/sdl_fb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sdl_fb.c b/src/sdl_fb.c index 2b0a605..d1e3cd5 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -196,7 +196,6 @@ static void sdl_fb_shutdown(til_fb_t *fb, void *context) static int sdl_fb_acquire(til_fb_t *fb, void *context, void *page) { sdl_fb_t *c = context; - sdl_fb_page_t *p = page; c->window = SDL_CreateWindow("rototiller", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, c->width, c->height, c->flags); if (!c->window) @@ -254,7 +253,6 @@ static void * sdl_fb_page_alloc(til_fb_t *fb, void *context, til_fb_fragment_t * static int sdl_fb_page_free(til_fb_t *fb, void *context, void *page) { - sdl_fb_t *c = context; sdl_fb_page_t *p = page; SDL_FreeSurface(p->surface); |