From f3d94378fa5a4aec8ecd8723c6808605b5560874 Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Wed, 28 Feb 2007 07:40:31 +0000
Subject: [PATCH] =?UTF-8?q?Suppression=20code=20non=20utilis=C3=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../Code/Common/otbMultiChannelExtractROI.cxx  | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/Testing/Code/Common/otbMultiChannelExtractROI.cxx b/Testing/Code/Common/otbMultiChannelExtractROI.cxx
index dac24a6153..3231fccc67 100755
--- a/Testing/Code/Common/otbMultiChannelExtractROI.cxx
+++ b/Testing/Code/Common/otbMultiChannelExtractROI.cxx
@@ -32,18 +32,6 @@ int generic_otbMultiChannelExtractROI( int argc, char * argv[], const char * inp
 {
   try 
     { 
-//        const char * inputFilename  = argv[1];
-//        const char * outputFilename = argv[2];
-
-
-        typedef otb::Image<short,2> TypeImage;
-        
-        TypeImage::Pointer lima =  TypeImage::New();
-        
-        
-/*        typedef _InputPixelType  	                                InputPixelType;
-        typedef _OutputPixelType  	                                OutputPixelType;
-*/
         typedef otb::MultiChannelExtractROI< InputPixelType, 
                                              OutputPixelType >  ExtractROIFilterType;
 
@@ -142,7 +130,7 @@ int otbMultiChannelExtractROI ( int argc, char * argv[] )
         const char * inputFilename;
         const char * outputFilename;
         int cpt(1);
-        //Si le format n'est pas spécifé, alors celui par defaut
+        //Si le format n'est pas sp�cif�, alors celui par defaut
         if( argv[cpt][0] == '-' )
         {
                 linputPixelType = std::string(argv[cpt]);cpt++;
@@ -183,8 +171,8 @@ int otbMultiChannelExtractROI ( int argc, char * argv[] )
         else if (  (linputPixelType=="-uchar")&&(loutputPixelType=="-double") )         return (generic_otbMultiChannelExtractROI< unsigned char, double >( argc,argv,inputFilename,outputFilename) );
         else 
         {       
-                std::cout << " Erreur : le format des images en entrée est mal précisé dans la ligne de commande !!!"<<std::endl;
-                std::cout << "          valeurs autorisées : -uchar, -ushort, -uint, -float, -double"<<std::endl;
+                std::cout << " Erreur : le format des images en entr�e est mal pr�cis� dans la ligne de commande !!!"<<std::endl;
+                std::cout << "          valeurs autoris�es : -uchar, -ushort, -uint, -float, -double"<<std::endl;
                 std::cout << "          valeurs par defaut : -uchar"<<std::endl;
                 return EXIT_FAILURE;
         }
-- 
GitLab