librados.cc: remove unused variable cpp_category

[src/librados/librados.cc:3083]: (style) Variable 'cpp_category' is
 assigned a value that is never used.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2014-03-04 21:13:58 +01:00
parent c2cc17893f
commit 31eb533b98

View File

@ -3162,7 +3162,6 @@ extern "C" void rados_write_op_create(rados_write_op_t write_op,
{
::ObjectOperation *oo = (::ObjectOperation *) write_op;
if(category) {
std::string cpp_category = category;
oo->create(exclusive, category);
} else {
oo->create(!!exclusive);