From ef5e3bfc71f94f77ecd13df9afe2fa768b020dbb Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 19 Aug 2016 20:10:53 +0300 Subject: [PATCH] SAL_FALLTHROUGH Change-Id: I9b13e20b873e919aef93e5c7548112c47f57612e --- bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx | 1 + bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx index 1f77e4970791..92b053cb328f 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx @@ -402,6 +402,7 @@ namespace TYPELIB_DANGER_RELEASE( pTD ); } } // else perform queryInterface() + SAL_FALLTHROUGH; default: eRet = cpp2uno_call( pCppI, aMemberDescr.get(), diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx index 24a5704a6bfd..45491094ceb6 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx @@ -77,7 +77,7 @@ void MapReturn(sal_uInt64 x0, sal_uInt64 x1, typelib_TypeDescriptionReference *p case typelib_TypeClass_HYPER: case typelib_TypeClass_UNSIGNED_HYPER: pRegisterReturn[1] = x1; - // fallthrough + SAL_FALLTHROUGH; case typelib_TypeClass_LONG: case typelib_TypeClass_UNSIGNED_LONG: case typelib_TypeClass_ENUM: @@ -525,6 +525,7 @@ void unoInterfaceProxyDispatch( TYPELIB_DANGER_RELEASE( pTD ); } } // else perform queryInterface() + SAL_FALLTHROUGH; default: // dependent dispatch cpp_call(