diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 15:25:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 15:25:12 +0200 |
commit | fcbd824f1b45ae7242cd7b86e98b5d947441759e (patch) | |
tree | 0589a837d2e4e1463fafd49efa10c1f060d3aa76 /mysqlc/source | |
parent | a0d546cdcad435bdabd007b4921043716be6e2b5 (diff) |
Use BOOST_FALLTHROUGH in external code
...in preparation of enabling Clang's -Wimplicit-fallthrough
Change-Id: If64f9b18591b3cd2528adc6c2d6011d509d4afcd
Diffstat (limited to 'mysqlc/source')
-rw-r--r-- | mysqlc/source/mysqlc_preparedstatement.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx index a0d3f8ff5625..81224246f926 100644 --- a/mysqlc/source/mysqlc_preparedstatement.cxx +++ b/mysqlc/source/mysqlc_preparedstatement.cxx @@ -564,8 +564,8 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c setDouble( _parameterIndex, nValue ); break; } + BOOST_FALLTHROUGH; } - // run through case DataType::CHAR: case DataType::VARCHAR: @@ -591,8 +591,8 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c setFloat(_parameterIndex,nValue); break; } + BOOST_FALLTHROUGH; } - // run through if we couldn't set a float value case DataType::DOUBLE: { |