vcl/source/opengl/OpenGLContext.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit a1ce5dab8844b621fcf786ed394ebdb1f91cf254 Author: Stephan Bergmann <[email protected]> Date: Fri Jan 23 15:33:48 2015 +0100 -Werror=unused-function Change-Id: Ib4c059876ac8b66ef75a6a00f3eb8ccbfc4d5eb7 diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 5bd863d..848296c 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -454,6 +454,7 @@ debug_callback(GLenum source, GLenum type, GLuint id, namespace { +#ifdef DBG_UTIL int unxErrorHandler(Display* dpy, XErrorEvent* event) { char err[256]; @@ -465,6 +466,7 @@ int unxErrorHandler(Display* dpy, XErrorEvent* event) SAL_WARN("vcl.opengl", "Error: " << err << ", Req: " << req << ", Minor: " << minor); return 0; } +#endif typedef int (*errorHandler)(Display* /*dpy*/, XErrorEvent* /*evnt*/); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
