diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-26 03:10:58 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-26 03:10:58 -0700 |
commit | 51bfd4e34a259243ce60915944d2c37204934620 (patch) | |
tree | 9cf76a442e79883e21c5b9686c486aeb6353b295 /src/gallium/winsys/r600/drm/radeon_state.c | |
parent | 4743c7fbe766624889411f71ebfec87e09c6e21b (diff) |
r600g: Don't return a value in function returning void.
Fixes this GCC warning.
radeon_state.c: In function 'radeon_state_fini':
radeon_state.c:140: warning: 'return' with a value, in function returning void
Diffstat (limited to 'src/gallium/winsys/r600/drm/radeon_state.c')
-rw-r--r-- | src/gallium/winsys/r600/drm/radeon_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/radeon_state.c b/src/gallium/winsys/r600/drm/radeon_state.c index b237b39c2b..c7aa73c8d4 100644 --- a/src/gallium/winsys/r600/drm/radeon_state.c +++ b/src/gallium/winsys/r600/drm/radeon_state.c @@ -137,7 +137,7 @@ void radeon_state_fini(struct radeon_state *state) unsigned i; if (state == NULL) - return NULL; + return; for (i = 0; i < state->nbo; i++) { radeon_ws_bo_reference(state->radeon, &state->bo[i], NULL); } |