projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
aa88329
)
bin: fix warning when built without SASL
author
Michael Wallner
<mike@php.net>
Wed, 2 Feb 2022 07:21:47 +0000
(08:21 +0100)
committer
Michael Wallner
<mike@php.net>
Wed, 2 Feb 2022 09:14:45 +0000
(10:14 +0100)
src/bin/common/options.hpp
patch
|
blob
|
history
diff --git
a/src/bin/common/options.hpp
b/src/bin/common/options.hpp
index 79dd2d64a8aee20fc4514fc5a694d4c5661185e0..93275b338f949fd753fd34cfec46a6fcd76122f6 100644
(file)
--- 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