mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024168: Eliminate CLang compiler warning -Wunused-variable
Got rid of warning -Wunused-variable In FSD_File, use template specialization instead of comparison of sizeof() to specific value in if statement, thus eliminating warning "constant value in conditional expression"
This commit is contained in:
@@ -531,7 +531,6 @@ OpenGl_Window::~OpenGl_Window()
|
||||
ReleaseDC (aWindow, aWindowDC);
|
||||
}
|
||||
#else
|
||||
GLXDrawable aWindow = (GLXDrawable )myGlContext->myWindow;
|
||||
Display* aDisplay = (Display* )myGlContext->myDisplay;
|
||||
GLXContext aGContext = (GLXContext )myGlContext->myGContext;
|
||||
myGlContext.Nullify();
|
||||
|
Reference in New Issue
Block a user