Don't assign return value of i.get_length() to a variable until
they are really used. Added comment on what is the intention of
the variables.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
// TODO: can kvstore make use of the hint?
coll_t cid(i.get_cid());
ghobject_t oid = i.get_oid();
- uint64_t expected_object_size = i.get_length();
- uint64_t expected_write_size = i.get_length();
+ i.get_length(); // uint64_t expected_object_size
+ i.get_length(); // uint64_t expected_write_size
}
break;