From: dsarrut Date: Tue, 12 Jul 2011 06:09:20 +0000 (+0200) Subject: add initialisation to avoid warning X-Git-Tag: v1.3.0~294 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a97e09fc5dc6b7cb41ecbbbb12b99b7f69652ae0;p=clitk.git add initialisation to avoid warning --- diff --git a/itk/clitkComposeVFFilter.txx b/itk/clitkComposeVFFilter.txx index b02de1b..e70d9c3 100644 --- a/itk/clitkComposeVFFilter.txx +++ b/itk/clitkComposeVFFilter.txx @@ -116,7 +116,7 @@ namespace clitk // get neighbor index and overlap fraction - for( dim = 0; dim < 3; dim++ ) + for( dim = 0; dim < ImageDimension; dim++ ) { if ( upper & 1 ) {