projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f379e7d
)
mesa: silence compiler warning
author
Alan Hourihane
<alanh@vmware.com>
Thu, 13 May 2010 17:49:02 +0000
(18:49 +0100)
committer
Alan Hourihane
<alanh@vmware.com>
Thu, 13 May 2010 17:49:02 +0000
(18:49 +0100)
src/mesa/main/get.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/get.c
b/src/mesa/main/get.c
index fbb659c125c8bd41f842c32a1e20b0f3739b3648..d2dcddddf27bdd6dac90432aa995df70ca1f553d 100644
(file)
--- a/
src/mesa/main/get.c
+++ b/
src/mesa/main/get.c
@@
-1757,8
+1757,10
@@
find_value(const char *func, GLenum pname, void **p, union value *v)
default:
assert(0);
break;
-
}
+
+ /* silence warning */
+ return &error_value;
}
static const int transpose[] = {