Commit 035ce6b7 authored by Raine Makelainen's avatar Raine Makelainen

Cleanup unused variables from udisks2block

parent 6e841e0d
......@@ -392,8 +392,6 @@ void UDisks2::Block::getEncryptedInterface()
m_pendingEncrypted = new QDBusPendingCallWatcher(pendingCall, this);
connect(m_pendingEncrypted, &QDBusPendingCallWatcher::finished, this, [this](QDBusPendingCallWatcher *watcher) {
if (watcher->isValid() && watcher->isFinished()) {
QDBusPendingReply<> reply = *watcher;
QDBusMessage message = reply.reply();
m_encrypted = true;
} else {
QDBusError error = watcher->error();
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