summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/utils.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-21 20:45:59 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-27 10:57:58 +0200
commit201e9bcde8d0d222d71792dc577d9eced4f45ebc (patch)
tree536d06ff4785a539a344388c606433d189b377ef /rbutil/rbutilqt/base/utils.cpp
parentf1f72ff8df68e190a43a56d14dfc820d1e58d96b (diff)
downloadrockbox-201e9bcde8d0d222d71792dc577d9eced4f45ebc.tar.gz
rockbox-201e9bcde8d0d222d71792dc577d9eced4f45ebc.tar.bz2
rockbox-201e9bcde8d0d222d71792dc577d9eced4f45ebc.zip
rbutil: Fix some minor issues found by clazy.
Change-Id: I0e63df09caf959dcb325c6ad2297c4348388a831
Diffstat (limited to 'rbutil/rbutilqt/base/utils.cpp')
-rw-r--r--rbutil/rbutilqt/base/utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp
index 277dcb512c..a61ef0d951 100644
--- a/rbutil/rbutilqt/base/utils.cpp
+++ b/rbutil/rbutilqt/base/utils.cpp
@@ -69,7 +69,7 @@ bool Utils::recursiveRmdir( const QString &dirName )
// make list of entries in directory
QStringList list = dir.entryList(QDir::AllEntries | QDir::NoDotAndDotDot);
QFileInfo fileInfo;
- QString curItem, lstAt;
+ QString curItem;
for(int i = 0; i < list.size(); i++){ // loop through all items of list
QString name = list.at(i);
curItem = dirN + "/" + name;
@@ -281,7 +281,6 @@ qulonglong Utils::filesystemSize(QString path, enum Utils::Size type)
//! \brief searches for a Executable in the Environement Path
QString Utils::findExecutable(QString name)
{
- QString exepath;
//try autodetect tts
#if defined(Q_OS_LINUX) || defined(Q_OS_MACX) || defined(Q_OS_OPENBSD)
#if QT_VERSION >= 0x050e00