mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-31 17:54:55 +01:00
Database: Remove useless return
This commit is contained in:
parent
d97b0478a7
commit
c39acc6e3c
@ -373,7 +373,6 @@ void Database::ExecSchemaCommandsFromFile(QSqlDatabase &db, const QString &filen
|
||||
QFile schema_file(filename);
|
||||
if (!schema_file.open(QIODevice::ReadOnly)) {
|
||||
qFatal("Couldn't open schema file %s for reading: %s", filename.toUtf8().constData(), schema_file.errorString().toUtf8().constData());
|
||||
return;
|
||||
}
|
||||
QByteArray data = schema_file.readAll();
|
||||
QString schema = QString::fromUtf8(data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user