]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/cmdparse.cc: remove unused variable
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 24 Jun 2013 12:29:50 +0000 (14:29 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 24 Jun 2013 12:29:50 +0000 (14:29 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/common/cmdparse.cc

index 5cb512233477cad84fe9965d2b17de87d186a242..584af054fa08477094ec6c3f60e6f818b9082c69 100644 (file)
@@ -47,7 +47,7 @@ dump_cmd_to_json(JSONFormatter *f, const string& cmd)
     // Snarf up all the key=val,key=val pairs, put 'em in a dict.
     // no '=val' implies '=True'.
     std::stringstream argdesc(word);
-    std::string keyval, name;
+    std::string keyval;
     std::map<std::string, std::string>desckv;
     // accumulate descriptor keywords in desckv
     size_t pos;