[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 17 01:39:45 PST 2014


 vcl/source/opengl/OpenGLContext.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit a5a307a6147c1dee5cf1ceda3ae823abc48f6366
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 17 10:39:17 2014 +0100

    warning C4702: unreachable code
    
    Change-Id: Ia0c8a1dff329bedc4084c104659f7777e15183ae

diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 98eb068..4cde114 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -200,8 +200,6 @@ bool WGLisExtensionSupported(const char *extension)
         if ((p==supported || p[-1]==' ') && (p[extlen]=='\0' || p[extlen]==' '))
             return 1; // Match
     }
-
-    CHECK_GL_ERROR();
 }
 
 bool InitMultisample(PIXELFORMATDESCRIPTOR pfd, int& rPixelFormat,


More information about the Libreoffice-commits mailing list