diff --git a/Code/Common/otbCommandLineArgumentParser.cxx b/Code/Common/otbCommandLineArgumentParser.cxx
index 98e92a44c81b5006576d6fcfcacecdcd84b4e303..2bb7083e9b4a7ab35dfe0229aa89a17cb2b8aac3 100644
--- a/Code/Common/otbCommandLineArgumentParser.cxx
+++ b/Code/Common/otbCommandLineArgumentParser.cxx
@@ -33,7 +33,7 @@ CommandLineArgumentParseResult::CommandLineArgumentParseResult() {}
 CommandLineArgumentParseResult::~CommandLineArgumentParseResult() {}
 
 void CommandLineArgumentParseResult
-::PrintSelf(std::ostream& /*os*/ /*, itk::Indent indent*/) const
+::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent indent) const
 {
 
 }
diff --git a/Code/Common/otbCommandLineArgumentParser.h b/Code/Common/otbCommandLineArgumentParser.h
index fc298b8af9eb0dd5d1747b92fe4526f1fd571c63..481444eed222e2b3535d0ebd0fe7aabb73e1db30 100644
--- a/Code/Common/otbCommandLineArgumentParser.h
+++ b/Code/Common/otbCommandLineArgumentParser.h
@@ -130,7 +130,7 @@ public:
 //  const char *GetOptionParameter(const char *option, unsigned int number = 0);
   int GetNumberOfParameters(const std::string& option);
 
-  void PrintSelf(std::ostream& os /*, itk::Indent indent*/) const;
+  void PrintSelf(std::ostream& os, itk::Indent indent) const;
 
 #define otbGetParameterMacro(name, type)                                                 \
   virtual type GetParameter ## name (const std::string& option, unsigned int number = 0) const     \