diff --git a/Code/FeatureExtraction/otbFillGapsFilter.cxx b/Code/FeatureExtraction/otbFillGapsFilter.cxx
index 794021da72f5e8b6ad9dc886c09be7f2266eef7c..d7a7184cfd7512c624b943581060d06cc6ef4c31 100644
--- a/Code/FeatureExtraction/otbFillGapsFilter.cxx
+++ b/Code/FeatureExtraction/otbFillGapsFilter.cxx
@@ -266,4 +266,3 @@ FillGapsFilter
 
 } // end namespace otb
 
-#endif
diff --git a/Code/FeatureExtraction/otbFillGapsFilter.h b/Code/FeatureExtraction/otbFillGapsFilter.h
index b9bba8467a4dfe01c8907e4fa0fbbc1940c4e062..776752b4ec4abe4a9da68c313f9cf5615562e276 100644
--- a/Code/FeatureExtraction/otbFillGapsFilter.h
+++ b/Code/FeatureExtraction/otbFillGapsFilter.h
@@ -63,7 +63,7 @@ public:
 
  
 protected:
-  FillGapsFilter()
+  FillGapsFilter();
 
   virtual ~FillGapsFilter(){};