diff --git a/source/Lib/CommonLib/Unit.cpp b/source/Lib/CommonLib/Unit.cpp
index 3a5e7c83c4729becaf844aa425a3e837dd3e6b37..2f36e96b0d2a65f9441719bf3a30e011c9dcb9aa 100644
--- a/source/Lib/CommonLib/Unit.cpp
+++ b/source/Lib/CommonLib/Unit.cpp
@@ -278,10 +278,6 @@ CodingUnit& CodingUnit::operator=( const CodingUnit& other )
   shareParentSize   = other.shareParentSize;
 #endif
   ibc               = other.ibc;
-#if JVET_M0444_SMVD
-  smvdMode        = other.smvdMode;
-#endif
-
 #if JVET_M0444_SMVD
   smvdMode        = other.smvdMode;
 #endif
@@ -327,9 +323,6 @@ void CodingUnit::initData()
 #if JVET_M0444_SMVD
   smvdMode        = 0;
 #endif
-#if JVET_M0444_SMVD
-  smvdMode        = 0;
-#endif
 }