mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024845: CLang warnings -Wunused-variable
Unused variables were removed.
This commit is contained in:
@@ -179,8 +179,6 @@ static Standard_Boolean tty; /* Non-zero means standard input is a
|
||||
* terminal-like device. Zero means it's
|
||||
* a file. */
|
||||
|
||||
static unsigned long thePixels[MAXCOLOR];
|
||||
|
||||
Standard_Integer Draw_WindowScreen = 0;
|
||||
Standard_Boolean Draw_BlackBackGround = Standard_True;
|
||||
|
||||
@@ -194,6 +192,8 @@ Draw_Window* Draw_Window::firstWindow = NULL;
|
||||
#include <X11/Xutil.h>
|
||||
#include <Aspect_DisplayConnection.hxx>
|
||||
|
||||
static unsigned long thePixels[MAXCOLOR];
|
||||
|
||||
Display* Draw_WindowDisplay = NULL;
|
||||
Colormap Draw_WindowColorMap;
|
||||
static Handle(Aspect_DisplayConnection) Draw_DisplayConnection;
|
||||
|
@@ -585,7 +585,6 @@ void GetNextEvent (Standard_Boolean theWait,
|
||||
theWindowNumber = [aWindow windowNumber];
|
||||
|
||||
NSPoint aMouseLoc = [aView convertPoint: [anEvent locationInWindow] fromView: nil];
|
||||
NSRect aBounds = [aView bounds];
|
||||
|
||||
theX = Standard_Integer (aMouseLoc.x);
|
||||
theY = Standard_Integer (aMouseLoc.y);
|
||||
|
Reference in New Issue
Block a user