From: Yunchuan Wen Date: Thu, 8 Dec 2016 09:05:17 +0000 (+0800) Subject: librbd: remove unused local variable X-Git-Tag: v11.1.0~28^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=985738bc2cd62a1c8cc13da25963cb05e5655964;p=ceph.git librbd: remove unused local variable Signed-off-by: Yunchuan Wen --- diff --git a/src/librbd/ImageCtx.cc b/src/librbd/ImageCtx.cc index b7d8061834fa..973cca824c07 100644 --- a/src/librbd/ImageCtx.cc +++ b/src/librbd/ImageCtx.cc @@ -910,7 +910,6 @@ struct C_InvalidateCache : public Context { map *res) { size_t conf_prefix_len = prefix.size(); - string start = prefix; for (auto it : pairs) { if (it.first.compare(0, MIN(conf_prefix_len, it.first.size()), prefix) > 0) return false;