1
0
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:
ski
2014-04-17 15:48:25 +04:00
committed by abv
parent a874a4a076
commit 276130e701
5 changed files with 3 additions and 10 deletions

View File

@@ -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;

View File

@@ -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);