diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-30 13:45:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-31 08:33:40 +0200 |
commit | 307be8c9cedb32560419bbb09e029b906e5f1acd (patch) | |
tree | cda408f6f320e7e7cb24dd7e022259c807f0c89e /sal/rtl | |
parent | 7c41a3e50433fe67eb361f79121d103929946d23 (diff) |
clang-tidy readability-redundant-control-flow
Change-Id: I832f7ef0f1bd55e365db7e49823fe8bc30390c04
Reviewed-on: https://gerrit.libreoffice.org/38215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/strbuf.cxx | 1 | ||||
-rw-r--r-- | sal/rtl/ustrbuf.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sal/rtl/strbuf.cxx b/sal/rtl/strbuf.cxx index 374f329f5a55..194e9b159af5 100644 --- a/sal/rtl/strbuf.cxx +++ b/sal/rtl/strbuf.cxx @@ -40,7 +40,6 @@ void SAL_CALL rtl_stringbuffer_newFromStr_WithLength( rtl_String ** newStr, rtl_string_new_WithLength( newStr, count + 16 ); (*newStr)->length = count; memcpy( (*newStr)->buffer, value, count ); - return; } /************************************************************************* diff --git a/sal/rtl/ustrbuf.cxx b/sal/rtl/ustrbuf.cxx index b73318b6e5f4..cef31a5da2ea 100644 --- a/sal/rtl/ustrbuf.cxx +++ b/sal/rtl/ustrbuf.cxx @@ -45,7 +45,6 @@ void SAL_CALL rtl_uStringbuffer_newFromStr_WithLength( rtl_uString ** newStr, (*newStr)->length = count; memcpy( (*newStr)->buffer, value, count * sizeof(sal_Unicode)); RTL_LOG_STRING_NEW( *newStr ); - return; } rtl_uString * SAL_CALL rtl_uStringBuffer_refReturn( rtl_uString * pThis ) |