From 8c30b9d9878b14098d01a4bae5d51f1392e3baff Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 24 Mar 2020 11:04:39 +0100 Subject: [PATCH] rbug: do not return void-value Returning a void-value is nonsensical, and in this case it seems like a mistake. This eliminates a warning when building on MSVC. Fixes: fb04e5da97d ("gallium: add pipe_screen::finalize_nir") Reviewed-by: Brian Paul Tested-by: Marge Bot Part-of: --- src/gallium/auxiliary/driver_rbug/rbug_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/driver_rbug/rbug_screen.c b/src/gallium/auxiliary/driver_rbug/rbug_screen.c index 86286cf9f29..ed6a3da83f9 100644 --- a/src/gallium/auxiliary/driver_rbug/rbug_screen.c +++ b/src/gallium/auxiliary/driver_rbug/rbug_screen.c @@ -375,7 +375,7 @@ rbug_screen_finalize_nir(struct pipe_screen *_screen, void *nir, bool optimize) { struct pipe_screen *screen = rbug_screen(_screen)->screen; - return screen->finalize_nir(screen, nir, optimize); + screen->finalize_nir(screen, nir, optimize); } bool -- 2.30.2