From d022bddf24b0f842ae96cf04a827e8995ac04e92 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Apr 2010 10:08:52 -0600 Subject: gallium/util: remove bogus return statement util_surfaces_do_detach() is a void-valued function. --- src/gallium/auxiliary/util/u_surfaces.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary') diff --git a/src/gallium/auxiliary/util/u_surfaces.h b/src/gallium/auxiliary/util/u_surfaces.h index 6de5e7cc17..0195bf5afb 100644 --- a/src/gallium/auxiliary/util/u_surfaces.h +++ b/src/gallium/auxiliary/util/u_surfaces.h @@ -46,7 +46,7 @@ util_surfaces_detach(struct util_surfaces *us, struct pipe_surface *ps) return; } - return util_surfaces_do_detach(us, ps); + util_surfaces_do_detach(us, ps); } void util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (*destroy_surface) (struct pipe_surface *)); -- cgit v1.2.3