Hide parameter only used in Q_ASSERT, but not in rest of method

parent 099493d6
......@@ -101,7 +101,7 @@ void KisFlipbook::save(const QString &url)
f.open(QFile::WriteOnly);
QByteArray ba = doc.toString().toUtf8();
qint64 written = f.write(ba);
Q_ASSERT(written == ba.size());
Q_ASSERT(written == ba.size()); Q_UNUSED(written);
KoApplication *app = dynamic_cast<KoApplication*>(qApp);
if (app) {
......
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