Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
shermp committed Apr 15, 2024
1 parent aa1d647 commit 64c0439
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ndb/NDBMetadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,8 @@ QStringList NDBMetadata::getBookListSideloaded() {
}

Result NDBMetadata::setMetadata(QString const& cID, QVariantMap md) {
//NDBVolume vol;
NDBVolume vol = getByID(cID);
Volume* v = (Volume*)&vol;
//NDB_ASSERT(NullError, v, "Error getting Volume for %s", cID.toUtf8().constData());
NDB_ASSERT(VolumeError, volIsValid(v), "Volume is not valid for %s", cID.toUtf8().constData());
for (auto i = md.constBegin(); i != md.constEnd(); ++i) {
const QString key = i.key();
Expand Down

0 comments on commit 64c0439

Please sign in to comment.