From: Erik Faye-Lund Date: Tue, 24 Mar 2020 10:04:39 +0000 (+0100) Subject: rbug: do not return void-value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c30b9d9878b14098d01a4bae5d51f1392e3baff;p=mesa.git 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: --- 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