This patch creates a couple of tests around how autoeject works.
[awesomized/libmemcached] / libtest / memcached.cc
index ceb2d878cca9e36a50fb3c1f18f90e80bccd14e1..3e8e3fcdea9b7600c551c5bdfca46a38ef60698f 100644 (file)
@@ -97,7 +97,7 @@ public:
     }
 
     pid_t local_pid;
-    memcached_return_t rc;
+    memcached_return_t rc= MEMCACHED_SUCCESS;
     if (has_socket())
     {
       local_pid= libmemcached_util_getpid(socket().c_str(), 0, &rc);