diff --git a/Code/Common/otbMacro.h b/Code/Common/otbMacro.h
index 7f781f1565fb9725dbe5a8c2a653d7c7cc15fefe..cd45f33f7501197194a68e2fb12f0a76d8cf8a88 100644
--- a/Code/Common/otbMacro.h
+++ b/Code/Common/otbMacro.h
@@ -163,7 +163,7 @@ namespace otb
       { \
       command; \
       } \
-    catch (const std::exception& stde)   { \
+    catch (const std::exception&)   { \
       throw; } \
     catch (...) \
       { \
diff --git a/Code/Segmentation/otbOGRLayerStreamStitchingFilter.txx b/Code/Segmentation/otbOGRLayerStreamStitchingFilter.txx
index f0615572e92099b88cc27ffe704a390fa782f7a7..4febe5be315d7af9a54aa9e777c87736ec689cfb 100644
--- a/Code/Segmentation/otbOGRLayerStreamStitchingFilter.txx
+++ b/Code/Segmentation/otbOGRLayerStreamStitchingFilter.txx
@@ -273,7 +273,7 @@ OGRLayerStreamStitchingFilter<TInputImage>
                  }
                catch(itk::ExceptionObject& err)
                  {
-                 otbDebugMacro(<<"An exception was caught during fusion: "<<err);
+                   otbWarningMacro(<<"An exception was caught during fusion: "<<err);
                  }
             }
          }