mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)
Some fixes to eliminate warning
This commit is contained in:
@@ -154,7 +154,7 @@ static void SetDisplayConnection (const Handle(Aspect_DisplayConnection)& theDis
|
||||
#if defined(_WIN32) || (!defined(__APPLE__) || defined(MACOSX_USE_GLX))
|
||||
Aspect_Handle GetWindowHandle(const Handle(Aspect_Window)& theWindow)
|
||||
{
|
||||
Aspect_Handle aWindowHandle = NULL;
|
||||
Aspect_Handle aWindowHandle = (Aspect_Handle)NULL;
|
||||
#if defined(_WIN32)
|
||||
const Handle (WNT_Window) aWindow = Handle(WNT_Window)::DownCast (theWindow);
|
||||
if (!aWindow.IsNull())
|
||||
|
Reference in New Issue
Block a user