projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
c++: fix -Wenum-in-bool-context
[awesomized/libmemcached]
/
clients
/
utilities.cc
diff --git
a/clients/utilities.cc
b/clients/utilities.cc
index 158890515ef43840bc9d49409e386bb0706ed980..268b7904589e5a4a7e07b8e18b4f643dfcdb189a 100644
(file)
--- a/
clients/utilities.cc
+++ b/
clients/utilities.cc
@@
-144,7
+144,9
@@
void process_hash_option(memcached_st *memc, char *opt_hash)
memcached_return_t rc;
if (opt_hash == NULL)
memcached_return_t rc;
if (opt_hash == NULL)
+ {
return;
return;
+ }
set= MEMCACHED_HASH_DEFAULT; /* Just here to solve warning */
if (!strcasecmp(opt_hash, "CRC"))
set= MEMCACHED_HASH_DEFAULT; /* Just here to solve warning */
if (!strcasecmp(opt_hash, "CRC"))