Skip to content

Commit 93921f4

Browse files
committed
parse: fix warning
1 parent 20690cd commit 93921f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmemcached/parse.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ memcached_server_list_st memcached_servers_parse(const char *server_strings) {
3030
begin_ptr != end_ptr; string = (char *) strchr(begin_ptr, ','))
3131
{
3232
char buffer[HUGE_STRING_LEN];
33-
char *ptr, *ptr2;
33+
char *ptr, *ptr2 = NULL;
3434
uint32_t weight = 0;
3535

3636
if (string) {

0 commit comments

Comments
 (0)