diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-02-27 17:49:59 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-02-27 17:49:59 +0100 |
commit | de3f80cd243b28fa6a9e9c3dbb5da7a09faa848d (patch) | |
tree | 5c0effc375cb9024cd659cfe3e6dace4bb0b46a6 | |
parent | cd4dc834bf827173f247419a23b96fe6e3b3da65 (diff) | |
download | ceph-de3f80cd243b28fa6a9e9c3dbb5da7a09faa848d.tar.gz |
ceph_context.cc: remove unused variable 'args' from do_command
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/common/ceph_context.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index 0be1c8cea34..a1181a00810 100644 --- a/src/common/ceph_context.cc +++ b/src/common/ceph_context.cc @@ -187,7 +187,6 @@ void CephContext::do_command(std::string command, std::string args, bufferlist * } else { std::string val = var.substr(pos+1); var.resize(pos); - std::vector<const char*> args; int r = _conf->set_val(var.c_str(), val.c_str()); if (r < 0) { jf.dump_stream("error") << "error setting '" << var << "' to '" << val << "': " << cpp_strerror(r); |