]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: remove unused local variable 12388/head
authorYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Thu, 8 Dec 2016 09:05:17 +0000 (17:05 +0800)
committerYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Thu, 8 Dec 2016 09:05:17 +0000 (17:05 +0800)
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
src/librbd/ImageCtx.cc

index b7d8061834fa2006044420e42b328070d079fd15..973cca824c079828b86ad1fd300643f1a52062ac 100644 (file)
@@ -910,7 +910,6 @@ struct C_InvalidateCache : public Context {
                                         map<string, bufferlist> *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;