[Libreoffice-commits] core.git: cppu/source

Julien Nabet serval2412 at yahoo.fr
Mon Mar 18 03:05:52 PDT 2013


 cppu/source/typelib/typelib.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4343c497173e4e2c3066b63d4e71c46bfc475008
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Mar 17 07:22:17 2013 +0100

    coverity#705137 Missing break in switch
    
    Change-Id: Ie54c888e15e9564c7e1d0efb54f587a586a53631
    Reviewed-on: https://gerrit.libreoffice.org/2780
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 445f824..b1e9cca 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -1480,6 +1480,7 @@ static inline void typelib_typedescription_destructExtendedMembers(
     case typelib_TypeClass_STRUCT:
         delete[] reinterpret_cast< typelib_StructTypeDescription * >(pTD)->
             pParameterizedTypes;
+        // Fall-through intentional
     case typelib_TypeClass_EXCEPTION:
     {
         typelib_CompoundTypeDescription * pCTD = (typelib_CompoundTypeDescription*)pTD;


More information about the Libreoffice-commits mailing list