From 2d44c7e4629b0d3c2d35924b1f432e869af51539 Mon Sep 17 00:00:00 2001 From: James Ring Date: Mon, 21 Oct 2019 15:25:46 -0700 Subject: [PATCH] Fix unused variable error when building without WITH_XC_YUBIKEY. --- src/cli/Utils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli/Utils.cpp b/src/cli/Utils.cpp index a45967917e..9988b60f9a 100644 --- a/src/cli/Utils.cpp +++ b/src/cli/Utils.cpp @@ -177,7 +177,9 @@ namespace Utils outputDescriptor)); compositeKey->addChallengeResponseKey(key); } -#endif +#else + Q_UNUSED(yubiKeySlot); +#endif // WITH_XC_YUBIKEY auto db = QSharedPointer::create(); QString error;