diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-04-15 11:39:44 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-04-15 18:07:19 +0200 |
commit | 786d3c2afdf70966617d13e27053dfd3964a0d89 (patch) | |
tree | bf217edbdefd242522a5022da8892740e19d4e8e | |
parent | 4ee275e72e36a5a4182cf6860d709f095b4d87da (diff) |
cppcheck: variableScope
Change-Id: Ia149b2b3f6f445e48cd469bb48a80f12b44648cd
Reviewed-on: https://gerrit.libreoffice.org/52903
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
-rw-r--r-- | comphelper/source/misc/backupfilehelper.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index 9b8003edf161..3c681437eb55 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -1898,10 +1898,9 @@ namespace comphelper void BackupFileHelper::tryPop() { - bool bDidPop(false); - if (mbActive) { + bool bDidPop(false); const OUString aPackURL(getPackURL()); // ensure dir and file vectors @@ -1941,10 +1940,9 @@ namespace comphelper void BackupFileHelper::tryPopExtensionInfo() { - bool bDidPop(false); - if (mbActive && mbExtensions) { + bool bDidPop(false); const OUString aPackURL(getPackURL()); bDidPop = tryPop_extensionInfo(aPackURL); |