]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx
* Unused vars suppressed
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / Contour / ContourCrownWidget.cxx
index ba64844d8ef8dc08b5e16441471ef8e1bf7bd0b1..f05103cc0681dac70fba0bfd603ce72c6e04cd4a 100644 (file)
@@ -244,7 +244,7 @@ void wxMaracasCoutourTool::GetMinMaxPoint(int *minPoint,
                                                                                  )
 {
        int i;
-       int     np  = manualviewbaseecontour->GetNumberOfPoints( );  // number of control points
+       //int   np  = manualviewbaseecontour->GetNumberOfPoints( );  // number of control points // JPRx
 
 // JSTG 26-02-08 ---------------------------------------------------------------------------------------
        //int nps = manualviewbaseecontour->GetNumberOfPointsSpline(); // number of points in the spline
@@ -567,8 +567,10 @@ void wxMaracasCoutourTool::EreaseLastContour(wxCommandEvent& event)
        {
                while(!feof(fd))        
                {
-                       fscanf(fd,"");
-                       fscanf(fd," %s %d",&firstline,&size);
+                       fscanf(fd,""); // ?? JPRx
+                       //fscanf(fd," %s %d",&firstline,&size); // JPRx
+                       fscanf(fd," %s %d",firstline,&size);
+
                        _SizesC.push_back(size);
                        for(j=0; j<size; j++)
                        {
@@ -637,8 +639,9 @@ void wxMaracasCoutourTool::EreaseLastCP(wxCommandEvent& event)
        {
                while(!feof(fd))        
                {
-                       fscanf(fd,"");
-                       fscanf(fd," %s %d",&firstline,&size);
+                       //fscanf(fd,"");  // ?? JPRx
+                       //fscanf(fd," %s %d",&firstline,&size);// JPRx
+                       fscanf(fd," %s %d",firstline,&size); 
                        _SizesC.push_back(size);
                        for(j=0; j<size; j++)
                        {