Fix for:
212 uint64_t new_lock_start = new_lock.start;
Value stored to 'new_lock_start' during its initialization is
never read
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
{
dout(15) << "adjust_locks" << dendl;
bool new_lock_to_end = (0 == new_lock.length);
- uint64_t new_lock_start = new_lock.start;
+ uint64_t new_lock_start;
uint64_t new_lock_end = new_lock.start + new_lock.length - 1;
uint64_t old_lock_start, old_lock_end;
__s64 old_lock_client = 0;