Skip to content

Commit

Permalink
Fix unused variable error when building without WITH_XC_YUBIKEY.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjamesr authored and droidmonkey committed Oct 23, 2019
1 parent 4cc06f9 commit 86a5553
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ namespace Utils
outputDescriptor));
compositeKey->addChallengeResponseKey(key);
}
#endif
#else
Q_UNUSED(yubiKeySlot);
#endif // WITH_XC_YUBIKEY

auto db = QSharedPointer<Database>::create();
QString error;
Expand Down

0 comments on commit 86a5553

Please sign in to comment.