26785: Coding rules - eliminate GCC warning -Wempty-body in LDOM_DeclareSequence.hxx
authorrkv <roman.kozlov@opencascade.com>
Fri, 23 Oct 2015 11:14:28 +0000 (14:14 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 29 Oct 2015 09:22:43 +0000 (12:22 +0300)
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 ()                                                      \