]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados_sync.cc: remove unused variable
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 11 Mar 2013 14:14:41 +0000 (15:14 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 11 Mar 2013 14:14:41 +0000 (15:14 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rados_sync.cc

index 435f8578d39526f4824c1be56594dabc43b18d02..ab9c46f6e6959d31e281b622dd7651a38f558311 100644 (file)
@@ -883,7 +883,6 @@ int rados_tool_sync(const std::map < std::string, std::string > &opts,
     exit(ret);
   }
 
-  std::string dir_name = (action == "import") ? src : dst;
   IoCtxDistributor *io_ctx_dist = IoCtxDistributor::instance();
   ret = io_ctx_dist->init(rados, pool_name.c_str(), num_threads);
   if (ret) {