diff --git a/Code/IO/otbKMLVectorDataIO.txx b/Code/IO/otbKMLVectorDataIO.txx
index 8a4456bb8c5ca91ae74ebbb442401162c0fe193d..74c12c077fb4ff3b712c639397992afd59d6299d 100644
--- a/Code/IO/otbKMLVectorDataIO.txx
+++ b/Code/IO/otbKMLVectorDataIO.txx
@@ -528,7 +528,7 @@ bool KMLVectorDataIO<TData>::CanWriteFile(const char* filename) const
 }
 
 template<class TData>
-void KMLVectorDataIO<TData>::Write(const VectorDataConstPointerType data, char ** papszOptions)
+void KMLVectorDataIO<TData>::Write(const VectorDataConstPointerType data, char ** itkNotUsed(papszOptions))
 {
   itk::TimeProbe chrono;
   chrono.Start();