Mesa (master): mesa: silence compiler warning
Alan Hourihane
alanh at kemper.freedesktop.org
Thu May 13 17:49:16 UTC 2010
Module: Mesa
Branch: master
Commit: 8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8
Author: Alan Hourihane <alanh at vmware.com>
Date: Thu May 13 18:49:02 2010 +0100
mesa: silence compiler warning
---
src/mesa/main/get.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index fbb659c..d2dcddd 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[] = {
More information about the mesa-commit
mailing list