From 9656f83936ff6277b3a30bdf95595ccaf4afd6cc Mon Sep 17 00:00:00 2001 From: shermp <14854761+shermp@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:20:13 +1200 Subject: [PATCH] Remove commented out code --- src/ndb/NDBMetadata.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ndb/NDBMetadata.cc b/src/ndb/NDBMetadata.cc index 638a7d1..ebce801 100644 --- a/src/ndb/NDBMetadata.cc +++ b/src/ndb/NDBMetadata.cc @@ -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();