From: Michael Wallner Date: Wed, 2 Feb 2022 07:21:47 +0000 (+0100) Subject: bin: fix warning when built without SASL X-Git-Tag: 1.1.2~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=43fa1d415799c1b15de6381fc3b53281e4559f36;p=awesomized%2Flibmemcached bin: fix warning when built without SASL --- diff --git a/src/bin/common/options.hpp b/src/bin/common/options.hpp index 79dd2d64..93275b33 100644 --- a/src/bin/common/options.hpp +++ b/src/bin/common/options.hpp @@ -95,9 +95,10 @@ public: .apply = [](const client_options &opt, const extended_option &ext, memcached_st *memc) { if (auto username = ext.arg) { #if !LIBMEMCACHED_WITH_SASL_SUPPORT + (void) memc; if (!opt.isset("quiet")) { std::cerr - << "SASL username was supplied, but binary was not built with SASL support.\n"; + << "SASL username '" << username << "' was supplied, but binary was not built with SASL support.\n"; } return false; #else