diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 09:33:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 09:43:16 +0100 |
commit | 52cd5ccc127f6c53be834072032827bb28759c6e (patch) | |
tree | 5bd4f4b51d45eb505f85b50c054dcd56957bb4e6 /sal | |
parent | 785ad9bda1dc289e9f0b197b13d73dacb6c60fbd (diff) |
coverity#1209760 Parse warning
Change-Id: I380cae18964ee6ed7d8ef87d9ae861cc7b34c376
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/checkapi/strings.cxx | 4 | ||||
-rw-r--r-- | sal/qa/osl/module/osl_Module_DLL.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/checkapi/strings.cxx b/sal/qa/checkapi/strings.cxx index 30758023dbba..9e11ea27bc48 100644 --- a/sal/qa/checkapi/strings.cxx +++ b/sal/qa/checkapi/strings.cxx @@ -23,9 +23,9 @@ #include "sal_allheaders.hxx" CPPUNIT_PLUGIN_IMPLEMENT(); -extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes ) +extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool ) { - return ( bRes = sal_True ); + return sal_True; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sal/qa/osl/module/osl_Module_DLL.cxx b/sal/qa/osl/module/osl_Module_DLL.cxx index e33f6516ac8d..23e930e9b3dc 100644 --- a/sal/qa/osl/module/osl_Module_DLL.cxx +++ b/sal/qa/osl/module/osl_Module_DLL.cxx @@ -27,9 +27,9 @@ // But we instatiate a test plugin to fake the build process. CPPUNIT_PLUGIN_IMPLEMENT(); -extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes ) +extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool ) { - return ( bRes = sal_True ); + return sal_True; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |