26785: Coding rules - eliminate GCC warning -Wempty-body in LDOM_DeclareSequence.hxx
[occt.git] / src / LDOM / LDOM_DeclareSequence.hxx
index da7add5..51a857d 100644 (file)
@@ -212,7 +212,7 @@ void ClassName::InsertAt (const Standard_Integer anI, const Type& aVal)       \
       if (anItem -> myPrev) anItem -> myPrev -> myNext = anItem;              \
       myLength++;                                                             \
       myICur++;                                                               \
-   } else ;                                                                   \
+   }                                                                          \
 }                                                                             \
                                                                               \
 void ClassName::Clear ()                                                      \