libmemcached: fix ub; TODO: what's that watchpoint.h stuff?
authorMichael Wallner <mike@php.net>
Thu, 1 Oct 2020 05:52:39 +0000 (07:52 +0200)
committerMichael Wallner <mike@php.net>
Mon, 5 Oct 2020 11:41:20 +0000 (13:41 +0200)
src/libmemcached/stats.cc

index 76719cf7e0e258958e63285563cb0f2c476fe5a2..757792159c5fe94a290ca7e0904bb0b727ef35f8 100644 (file)
@@ -653,7 +653,7 @@ memcached_stat_st *memcached_stat(memcached_st *shell, char *args, memcached_ret
     return NULL;
   }
 
-  memcached_return_t rc;
+  memcached_return_t rc = MEMCACHED_SUCCESS;
   size_t args_length= 0;
   if (args)
   {