summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2010-05-13 18:49:02 +0100
committerAlan Hourihane <alanh@vmware.com>2010-05-13 18:49:02 +0100
commit8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8 (patch)
tree0d03732080cb8803c9046b87ceb0d2690c08dd1b /src
parentf379e7df4b7d68c358c9b72f20bb56045dcf9a8d (diff)
mesa: silence compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/get.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index fbb659c125..d2dcddddf2 100644
--- 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[] = {