X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=util%2Finstance.cc;h=a1665f36016ab0826363ff6d61d49decc7739d26;hb=0ce6b69e0f8e25e50bd878678b1444651093bac4;hp=e96f414f72e6280ba899414496b81ce376c3c5ac;hpb=751e342e158ae65052ce098ccd64aa54e39312db;p=m6w6%2Flibmemcached diff --git a/util/instance.cc b/util/instance.cc index e96f414f..a1665f36 100644 --- a/util/instance.cc +++ b/util/instance.cc @@ -36,7 +36,7 @@ */ -#include +#include #include "util/instance.hpp" @@ -211,7 +211,6 @@ bool Instance::run() case READING: if (operation->has_response()) { - size_t total_read; ssize_t read_length; do @@ -240,7 +239,6 @@ bool Instance::run() } operation->push(buffer, static_cast(read_length)); - total_read+= static_cast(read_length); } while (more_to_read()); } // end has_response