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/mem_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/mem_fb.c')
-rw-r--r-- | src/mem_fb.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mem_fb.c b/src/mem_fb.c index 2d8f936..2dfa5bb 100644 --- a/src/mem_fb.c +++ b/src/mem_fb.c @@ -99,9 +99,6 @@ static void mem_fb_shutdown(til_fb_t *fb, void *context) static int mem_fb_acquire(til_fb_t *fb, void *context, void *page) { - mem_fb_t *c = context; - mem_fb_page_t *p = page; - return 0; } @@ -135,7 +132,6 @@ static void * mem_fb_page_alloc(til_fb_t *fb, void *context, til_fb_fragment_t * static int mem_fb_page_free(til_fb_t *fb, void *context, void *page) { - mem_fb_t *c = context; mem_fb_page_t *p = page; free(p); @@ -146,9 +142,6 @@ static int mem_fb_page_free(til_fb_t *fb, void *context, void *page) static int mem_fb_page_flip(til_fb_t *fb, void *context, void *page) { - mem_fb_t *c = context; - mem_fb_page_t *p = page; - /* TODO: add a timer for supporting an fps setting? */ return 0; } |