summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-09 09:33:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-09 09:43:16 +0100
commit52cd5ccc127f6c53be834072032827bb28759c6e (patch)
tree5bd4f4b51d45eb505f85b50c054dcd56957bb4e6 /sal
parent785ad9bda1dc289e9f0b197b13d73dacb6c60fbd (diff)
coverity#1209760 Parse warning
Change-Id: I380cae18964ee6ed7d8ef87d9ae861cc7b34c376
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/checkapi/strings.cxx4
-rw-r--r--sal/qa/osl/module/osl_Module_DLL.cxx4
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: */