diff --git a/Code/Common/otbDataNode.txx b/Code/Common/otbDataNode.txx
index 4cbf90948a28e48db86a0ac02ba8ed09c2ae37ba..4aa9542ae453b02b8c7c3a5c9919b3dee3efe539 100644
--- a/Code/Common/otbDataNode.txx
+++ b/Code/Common/otbDataNode.txx
@@ -600,6 +600,7 @@ DataNode<TPrecision, VDimension, TValuePrecision>
     return polygon;
     }
     break;
+    default: break;
     }
 
   return NULL;