summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-23 17:15:50 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-24 15:46:41 +0200
commit6da59e247a3b22853e479d059d7b4cc28d456f83 (patch)
tree0c0d34a3774420121b0c715ffd7bf1f89587313c
parentaa453de65b8b44f9c1e6012caaeef11df9ff65fc (diff)
cppcheck: redundantAssignment
Change-Id: Ic4a2738aeba8e0446ea2428d5adab3dd11f72928
-rw-r--r--stoc/test/javavm/jvm_interaction/interactionhandler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
index b08349ab5aa9..8bcc57b34d2c 100644
--- a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
+++ b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
@@ -178,8 +178,7 @@ SAL_IMPLEMENT_MAIN()
Reference<XMultiComponentFactory> fac= context->getServiceManager();
Reference<XMultiServiceFactory> xMgr( fac, UNO_QUERY);
- sal_Bool bSucc = sal_False;
- bSucc= test1(xMgr);
+ sal_Bool bSucc = test1(xMgr);
Reference< XComponent > xCompContext( context, UNO_QUERY );
xCompContext->dispose();
return (bSucc ? 0 : -1);