projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4743c7f
)
r600g: Don't return a value in function returning void.
author
Vinson Lee
<vlee@vmware.com>
Sun, 26 Sep 2010 10:10:58 +0000
(
03:10
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 26 Sep 2010 10:10:58 +0000
(
03:10
-0700)
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
src/gallium/winsys/r600/drm/radeon_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/radeon_state.c
b/src/gallium/winsys/r600/drm/radeon_state.c
index b237b39c2b1a43dafbb301962c88da5044f1a8de..c7aa73c8d4e31fe71b5648a8f0c7840a10837e7e 100644
(file)
--- 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);
}