diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-23 17:29:52 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 15:46:42 +0200 |
commit | ec1c2c566de1bede1ade93e1323def687209259a (patch) | |
tree | 14c34d4d9ad91e840047db2607577a34588fc49e /vcl | |
parent | f327480933f66e4e8ed64480ad178db98e7c8fb4 (diff) |
cppcheck: redundantAssignment
Change-Id: Ia53ac439c785e83de380fddd201ad4159f729cb2
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/app/test_IconThemeScanner.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |