From ec1c2c566de1bede1ade93e1323def687209259a Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 23 May 2014 17:29:52 +0200 Subject: cppcheck: redundantAssignment Change-Id: Ia53ac439c785e83de380fddd201ad4159f729cb2 --- vcl/qa/cppunit/app/test_IconThemeScanner.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/qa') diff --git a/vcl/qa/cppunit/app/test_IconThemeScanner.cxx b/vcl/qa/cppunit/app/test_IconThemeScanner.cxx index 63c5987a021f..857f65551365 100644 --- a/vcl/qa/cppunit/app/test_IconThemeScanner.cxx +++ b/vcl/qa/cppunit/app/test_IconThemeScanner.cxx @@ -48,8 +48,7 @@ IconThemeScannerTest::AddedThemeIsFoundById() OUString theme("file:://images_katze.zip"); scanner.AddIconThemeByPath(theme); OUString id = vcl::IconThemeInfo::FileNameToThemeId("images_katze.zip"); - bool found = false; - found = scanner.IconThemeIsInstalled(id); + bool found = scanner.IconThemeIsInstalled(id); CPPUNIT_ASSERT_EQUAL_MESSAGE("icon theme could be added by url", true, found); } -- cgit v1.2.3