From 3efcfc31998ac269d93727516c9afab142ead4a2 Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@gmail.com> Date: Sun, 17 Jan 2010 16:51:08 +0100 Subject: [PATCH] WARN:remove warning in Testing --- Testing/Utilities/ijObjectLabelAttributeValuesTest.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Testing/Utilities/ijObjectLabelAttributeValuesTest.cxx b/Testing/Utilities/ijObjectLabelAttributeValuesTest.cxx index 6c1ee64703..423980e71f 100644 --- a/Testing/Utilities/ijObjectLabelAttributeValuesTest.cxx +++ b/Testing/Utilities/ijObjectLabelAttributeValuesTest.cxx @@ -44,7 +44,7 @@ int ijObjectLabelAttributeValuesTest(int argc, char * argv[]) LabelMapType::Pointer labelMap = converter->GetOutput(); typedef LabelMapType::LabelObjectType LabelObjectType; - const LabelObjectType * ball = labelMap->GetLabelObject( 1 ); + //const LabelObjectType * ball = labelMap->GetLabelObject( 1 ); assert( eq(3.0, ball->GetCentroid()[0]) ); assert( eq(3.0, ball->GetCentroid()[1]) ); @@ -93,7 +93,7 @@ int ijObjectLabelAttributeValuesTest(int argc, char * argv[]) // assert( eq(1.0, ball->GetBinaryPrincipalAxes()[2][2]) ); - const LabelObjectType * ellipsoid = labelMap->GetLabelObject( 2 ); + //const LabelObjectType * ellipsoid = labelMap->GetLabelObject( 2 ); assert( eq(3.0, ellipsoid->GetCentroid()[0]) ); assert( eq(3.0, ellipsoid->GetCentroid()[1]) ); @@ -143,7 +143,7 @@ int ijObjectLabelAttributeValuesTest(int argc, char * argv[]) - const LabelObjectType * disk = labelMap->GetLabelObject( 3 ); + //const LabelObjectType * disk = labelMap->GetLabelObject( 3 ); assert( eq(3.0, disk->GetCentroid()[0]) ); assert( eq(11.0, disk->GetCentroid()[1]) ); -- GitLab