projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Added -I option to aclocal so the system finds the right libtool.m4 file.
[m6w6/libmemcached]
/
libmemcached
/
memcached_storage.c
diff --git
a/libmemcached/memcached_storage.c
b/libmemcached/memcached_storage.c
index ea8b1d249b98d5d1189d4d151bf5191120f3f5b6..97ca33cc50a7a71519452dcc8e988d2b3a55bac4 100644
(file)
--- a/
libmemcached/memcached_storage.c
+++ b/
libmemcached/memcached_storage.c
@@
-341,7
+341,9
@@
memcached_return memcached_cas_by_key(memcached_st *ptr,
static inline uint8_t get_com_code(memcached_storage_action verb, bool noreply)
{
static inline uint8_t get_com_code(memcached_storage_action verb, bool noreply)
{
- uint8_t ret;
+ /* 0 isn't a value we want, but GCC 4.2 seems to think ret can otherwise
+ * be used uninitialized in this function. FAIL */
+ uint8_t ret= 0;
if (noreply)
switch (verb)
if (noreply)
switch (verb)