summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-rw-r--r--src/mesa/glapi/glapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index adb47f9fecb..35b8df2adf7 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -121,7 +121,7 @@ warn(const char *func)
warn(#func);
#define RETURN_DISPATCH(func, args, msg) \
- return warn(#func);
+ warn(#func); return 0
#define TABLE_ENTRY(name) (_glapi_proc) NoOp##name