]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConstructionPlugin/ConstructionPlugin_Validators.cpp
Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Validators.cpp
index 16cb6708860b0c9b1b92617f1661bd2d1e6d993b..b36b2bd513f5ea04d340915aea2599359469d172 100644 (file)
@@ -136,14 +136,11 @@ bool ConstructionPlugin_ValidatorPointEdgeAndPlaneNotParallel::isValid(
     aShape2 = aContext2->shape();
   }
 
-  bool isPlaneFirst = false;
   anEdge = getEdge(aShape1);
-
   aFace = getFace(aShape2);
   if(!anEdge.get() || !aFace.get()) {
     anEdge = getEdge(aShape2);
     aFace = getFace(aShape1);
-    isPlaneFirst = true;
   }
 
   if(!anEdge.get() || !aFace.get()) {