]> OCCT Git - occt-copy.git/commitdiff
0024853: CLang warnings -Wunused-const-variable
authorski <ski@opencascade.com>
Thu, 17 Apr 2014 09:41:11 +0000 (13:41 +0400)
committerabv <abv@opencascade.com>
Wed, 23 Apr 2014 11:50:21 +0000 (15:50 +0400)
Unused variables were removed.

src/AIS/AIS_Dimension.cxx
src/NIS/NIS_TriangulatedDrawer.cxx
src/OpenGl/OpenGl_Clipping.cxx
src/OpenGl/OpenGl_Context.cxx

index 23b23ee7de9ca17265ba38033a6512cf0015f53c..f06c012bef8f959d04d3fb4df177775179997090 100755 (executable)
@@ -80,7 +80,6 @@ IMPLEMENT_STANDARD_RTTIEXT(AIS_Dimension, AIS_InteractiveObject)
 namespace
 {
   // default text strings
-  static const Standard_Utf32Char THE_FILL_CHARACTER ('0');
   static const TCollection_ExtendedString THE_EMPTY_LABEL;
   static const TCollection_AsciiString    THE_UNDEFINED_UNITS;
 
index a69ea24e11749a787eff5999deeebf93804f282e..775a693a1be5de5955b6a0d45f8ca0ac1070c5de 100644 (file)
@@ -78,8 +78,6 @@ void NIS_TriangulatedDrawer::Assign (const Handle_NIS_Drawer& theOther)
   }
 }
 
-static const Standard_Integer nObjPerDrawer = 64;
-
 //=======================================================================
 //function : IsEqual
 //purpose  : Comparison of two Drawers (for Map impementation)
index 3a3d7c7c7263d1fb4858065a77c71642d0afffea..85888fdb5481cb46cc3456dff4ab35161ca7c2f3 100755 (executable)
 #include <OpenGl_GlCore11.hxx>
 #include <OpenGl_Workspace.hxx>
 
-namespace
-{
-  static const GLdouble OpenGl_DefaultPlaneEq[] = {0.0, 0.0, 0.0, 0.0};
-};
-
 // =======================================================================
 // function : OpenGl_ClippingState
 // purpose  :
index f577e7e5b40229b51cc816f041cb177b41fece9f..9e2f07417a3bc4b804805e7736bdc96518ee82b1 100644 (file)
@@ -63,7 +63,6 @@ IMPLEMENT_STANDARD_RTTIEXT(OpenGl_Context, Standard_Transient)
 namespace
 {
   static const Handle(OpenGl_Resource) NULL_GL_RESOURCE;
-  static const GLdouble OpenGl_DefaultPlaneEq[] = {0.0, 0.0, 0.0, 0.0};
 };
 
 // =======================================================================