Fix unused variable error when building without WITH_XC_YUBIKEY.

This commit is contained in:
James Ring 2019-10-21 15:25:46 -07:00 committed by Jonathan White
parent 4cc06f94c0
commit 2d44c7e462

View File

@ -177,7 +177,9 @@ namespace Utils
outputDescriptor)); outputDescriptor));
compositeKey->addChallengeResponseKey(key); compositeKey->addChallengeResponseKey(key);
} }
#endif #else
Q_UNUSED(yubiKeySlot);
#endif // WITH_XC_YUBIKEY
auto db = QSharedPointer<Database>::create(); auto db = QSharedPointer<Database>::create();
QString error; QString error;