projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cddfb
)
r600g: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 19:21:10 +0000
(12:21 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 19:21:10 +0000
(12:21 -0700)
Fixes this GCC warning.
r600_screen.c: In function 'r600_screen_create':
r600_screen.c:239: warning: unused variable 'family'
src/gallium/drivers/r600/r600_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_screen.c
b/src/gallium/drivers/r600/r600_screen.c
index d280a45bab73ba50e713c58f3eaf460991bc9200..be8a78ca3d0bff7d308145c223d9cfc87191fa4c 100644
(file)
--- a/
src/gallium/drivers/r600/r600_screen.c
+++ b/
src/gallium/drivers/r600/r600_screen.c
@@
-236,7
+236,6
@@
static void r600_destroy_screen(struct pipe_screen* pscreen)
struct pipe_screen *r600_screen_create(struct radeon *rw)
{
struct r600_screen* rscreen;
- enum radeon_family family = radeon_get_family(rw);
rscreen = CALLOC_STRUCT(r600_screen);
if (rscreen == NULL) {