Commit d938cc91 authored by Fabian Kosmale's avatar Fabian Kosmale Committed by Fabian Kosmale

fix clazy warning: removed dead QStrings

parent be30e11c
......@@ -975,7 +975,6 @@ int QueryPerformer::insertFiles(Database *db, Package* p)
int QueryPerformer::insertFiles(AbstractSQLiteConnection &dbConnection, Package* p)
{
const QString null = "NULL";
QString sqlQuery = "INSERT INTO files ('package', 'file', 'backup', 'ultimateowner') VALUES (:Package, :File, :Backup, :UltimateOwner);";
try {
......
......@@ -90,8 +90,6 @@ QStringList CreateDb::cleanTargets(const QStringList& targets)
void CreateDb::start()
{
QString dbFileName = m_db.split('/').last();
m_targets = cleanTargets(m_targets);
out << ":: Creating new database into " << m_db << "... ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment