Git commit 9568d9cd802725ead2179808e5414c0bc0b3a911 by Vishesh Handa. Committed on 14/12/2015 at 23:30. Pushed by vhanda into branch 'master'. StatusCommand: Remove extra variable M +1 -3 src/tools/balooctl/statuscommand.cpp http://commits.kde.org/baloo/9568d9cd802725ead2179808e5414c0bc0b3a911 diff --git a/src/tools/balooctl/statuscommand.cpp b/src/tools/balooctl/stat= uscommand.cpp index 93c5b61..0074f6b 100644 --- a/src/tools/balooctl/statuscommand.cpp +++ b/src/tools/balooctl/statuscommand.cpp @@ -101,8 +101,6 @@ int StatusCommand::exec(const QCommandLineParser& parse= r) out << "Index does not exist yet\n"; } } else { - IndexerConfig config; - for (const QString& arg : args) { QString filePath =3D QFileInfo(arg).absoluteFilePath(); quint64 id =3D filePathToId(QFile::encodeName(filePath)); @@ -112,7 +110,7 @@ int StatusCommand::exec(const QCommandLineParser& parse= r) out << "Basic Indexing: "; if (tr.hasDocument(id)) { out << "Done\n"; - } else if (config.shouldBeIndexed(filePath)) { + } else if (cfg.shouldBeIndexed(filePath)) { out << "Scheduled\n"; return 0; } else {