From 3e3032cfa044268cee76735823755db274025021 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 13 Jun 2023 18:27:10 -0700 Subject: *: 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. --- src/mem_fb.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/mem_fb.c') 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; } -- cgit v1.2.1