]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Remove unused variables
authorapo <apo@opencascade.com>
Thu, 2 Feb 2006 10:12:01 +0000 (10:12 +0000)
committerapo <apo@opencascade.com>
Thu, 2 Feb 2006 10:12:01 +0000 (10:12 +0000)
src/CONVERTOR/VISU_Convertor_impl.cxx

index 4564df6037f72b4b63cb97ef9baf918a10115918..ba2a8ad5a02b542fc21907c9bb9f915c677b9111 100644 (file)
@@ -1349,16 +1349,10 @@ namespace
     aDataArray->SetName("VISU_FIELD");
     aDataSetAttributes->AddArray(aDataArray);
 
-    int aNbComp2 = aNbComp;
-    if(aNbComp == 4)
-      aNbComp2 = 2;
-    else if(aNbComp > 4)
-      aNbComp2 = 3;
-
     INITMSG(MYDEBUG,"GetTimeStampOnProfile "<<
-           "- aNbTuples = "<<aNbTuples<<
+           "- theEntity = "<<theEntity<<
+           "; aNbTuples = "<<aNbTuples<<
            "; aNbComp = "<<aNbComp<<
-           "; aNbComp2 = "<<aNbComp2<<
            endl);
     
     int aSize = max(3,aNbComp);
@@ -1580,16 +1574,9 @@ namespace
     aDataArray->SetName("VISU_FIELD");
     aDataSetAttributes->AddArray(aDataArray);
 
-    int aNbComp2 = aNbComp;
-    if(aNbComp == 4)
-      aNbComp2 = 2;
-    else if(aNbComp > 4)
-      aNbComp2 = 3;
-
     INITMSG(MYDEBUG,"GetTimeStampOnGaussMesh "<<
            "- aNbTuples = "<<aNbTuples<<
            "; aNbComp = "<<aNbComp<<
-           "; aNbComp2 = "<<aNbComp2<<
            endl);
     
     int aSize = max(3,aNbComp);
@@ -2090,6 +2077,7 @@ VISU_Convertor_impl
   TVTKOutput* anOutput = theIDMapperFilter->GetVTKOutput();
   const TVTKSource& aSource = theIDMapperFilter->mySource.GetSource();
   ::GetTimeStampOnProfile(aSource,theField,theValForTime,theEntity);
+
   return anOutput;
 }