diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-20 10:08:52 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-20 10:10:48 -0600 |
commit | d022bddf24b0f842ae96cf04a827e8995ac04e92 (patch) | |
tree | b267b465c4d1fdd321dcc524aacd890ef8fdff46 | |
parent | 94c07b1320fe1bab6a048bfd070376725a694cc0 (diff) |
gallium/util: remove bogus return statement
util_surfaces_do_detach() is a void-valued function.
-rw-r--r-- | src/gallium/auxiliary/util/u_surfaces.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 *)); |