projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
20690cd
)
parse: fix warning
author
Michael Wallner
<mike@php.net>
Tue, 26 Jan 2021 13:47:14 +0000
(14:47 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 26 Jan 2021 13:47:14 +0000
(14:47 +0100)
src/libmemcached/parse.cc
patch
|
blob
|
history
diff --git
a/src/libmemcached/parse.cc
b/src/libmemcached/parse.cc
index 5bf6fac297102b9b99e18ee46035824e57d879b8..d9d81db0978eae166909c7f738b508ccf96c173d 100644
(file)
--- a/
src/libmemcached/parse.cc
+++ b/
src/libmemcached/parse.cc
@@
-30,7
+30,7
@@
memcached_server_list_st memcached_servers_parse(const char *server_strings) {
begin_ptr != end_ptr; string = (char *) strchr(begin_ptr, ','))
{
char buffer[HUGE_STRING_LEN];
- char *ptr, *ptr2;
+ char *ptr, *ptr2
= NULL
;
uint32_t weight = 0;
if (string) {