Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: third_party/mesa/MesaLib/src/mapi/glapi/glapi_dispatch.c

Issue 7523033: Eliminate a warning in a failure case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/mesa/MesaLib/src/mapi/glapi/glapi_dispatch.c
===================================================================
--- third_party/mesa/MesaLib/src/mapi/glapi/glapi_dispatch.c (revision 94205)
+++ third_party/mesa/MesaLib/src/mapi/glapi/glapi_dispatch.c (working copy)
@@ -65,7 +65,7 @@
fprintf MESSAGE; \
CALL_ ## FUNC(GET_DISPATCH(), ARGS);
-#define RETURN_DISPATCH(FUNC, ARGS, MESSAGE) \
+#define RETURN_DISPATCH(TYPE, FUNC, ARGS, MESSAGE) \
fprintf MESSAGE; \
return CALL_ ## FUNC(GET_DISPATCH(), ARGS);
@@ -74,7 +74,7 @@
#define DISPATCH(FUNC, ARGS, MESSAGE) \
CALL_ ## FUNC(GET_DISPATCH(), ARGS);
-#define RETURN_DISPATCH(FUNC, ARGS, MESSAGE) \
+#define RETURN_DISPATCH(TYPE, FUNC, ARGS, MESSAGE) \
return CALL_ ## FUNC(GET_DISPATCH(), ARGS);
#endif /* logging */
« no previous file with comments | « third_party/mesa/MesaLib/src/mapi/glapi/gen/gl_apitemp.py ('k') | third_party/mesa/MesaLib/src/mapi/glapi/glapi_nop.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698