0024510: Remove unused local variables
[occt.git] / src / Visual3d / Visual3d_ViewManager.cxx
index c12775a..eff085b 100644 (file)
@@ -661,14 +661,9 @@ TColStd_Array2OfReal TMap_Matrix_Inv (0,3,0,3);
 
 Standard_Real Dx, Dy, Ratio;
 Visual3d_SetIteratorOfSetOfView MyIterator(MyDefinedView);
-Standard_Integer j;
 
 Standard_Integer stop = 0;
 
-Standard_Boolean BResult;
-
-               j = MyDefinedView.Extent ();
-
                while ((! stop) && (MyIterator.More ())) {
                    if (TheCView.ViewId ==
                        (MyIterator.Value ())->Identification ()) {
@@ -684,10 +679,10 @@ Standard_Boolean BResult;
                }
 
                // View Mapping Transformation and View Clip, inversion
-               BResult = Aspect::Inverse (TMap_Matrix, TMap_Matrix_Inv);
+               Aspect::Inverse (TMap_Matrix, TMap_Matrix_Inv);
 
                // View Orientation Transformation, inversion
-               BResult = Aspect::Inverse (TOri_Matrix, TOri_Matrix_Inv);
+               Aspect::Inverse (TOri_Matrix, TOri_Matrix_Inv);
 
                // (AU, AV) : Device Coordinate Space
                // DCS -> NPCS Normalized Projection Coordinate Space
@@ -798,14 +793,9 @@ TColStd_Array2OfReal TMap_Matrix_Inv (0,3,0,3);
 
 Standard_Real Dx, Dy, Ratio;
 Visual3d_SetIteratorOfSetOfView MyIterator(MyDefinedView);
-Standard_Integer j;
 
 Standard_Integer stop = 0;
 
-Standard_Boolean BResult;
-
-               j = MyDefinedView.Extent ();
-
                while ((! stop) && (MyIterator.More ())) {
                    if (TheCView.ViewId ==
                        (MyIterator.Value ())->Identification ()) {
@@ -821,10 +811,10 @@ Standard_Boolean BResult;
                }
 
                // View Mapping Transformation and View Clip, inversion
-               BResult = Aspect::Inverse (TMap_Matrix, TMap_Matrix_Inv);
+               Aspect::Inverse (TMap_Matrix, TMap_Matrix_Inv);
 
                // View Orientation Transformation, inversion
-               BResult = Aspect::Inverse (TOri_Matrix, TOri_Matrix_Inv);
+               Aspect::Inverse (TOri_Matrix, TOri_Matrix_Inv);
 
                // (AU, AV) : Device Coordinate Space
                // DCS -> NPCS Normalized Projection Coordinate Space