]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageTransform3D3PointsBox.cxx
Chasse aux variables non initialisées
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageTransform3D3PointsBox.cxx
index 9156f13a1642401f32d35501619da015c7a587ce..b4eb9dff0d9df561c9b8bf1da9f4165f798ff063 100644 (file)
@@ -16,7 +16,7 @@ void Transform3D3PointsBox::Process()
                double A2[3];
                double B2[3];
                double O2[3];
-               
+
                //In case there is an order in the points
                if(!bbGetInputLabels1().empty() && !bbGetInputLabels2().empty() && bbGetInputLabels1()[0].compare("1") == 0 && bbGetInputLabels1()[1].compare("2") == 0 && bbGetInputLabels1()[2].compare("3") == 0)
                {
@@ -92,7 +92,7 @@ void Transform3D3PointsBox::Process()
                }
 
                //Create the new center point
-               double * centerPoint;
+               double centerPoint[3];  // JPR
                centerPoint[0] = O2[0];
                centerPoint[1] = O2[1];
                centerPoint[2] = O2[2];
@@ -251,4 +251,5 @@ void Transform3D3PointsBox::bbUserFinalizeProcessing()
        delete planes;
 }
 }
-// EO namespace bbPackRecalage
\ No newline at end of file
+// EO namespace bbPackRecalage
+