forked from len0rd/rockbox
rbutil: Fix some minor issues found by clazy.
Change-Id: I0e63df09caf959dcb325c6ad2297c4348388a831
This commit is contained in:
parent
f1f72ff8df
commit
201e9bcde8
6 changed files with 7 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue