From 653fb37ea5c7b8d1fe177ea91a116dcfca509655 Mon Sep 17 00:00:00 2001 From: Vladimir Krivopalov Date: Wed, 26 Sep 2018 12:10:52 -0700 Subject: [PATCH] range_tombstone: Remove code that duplicates logic. The actions performed by the call to set_start() were duplicated by the immediately following code lines that are removed with this patch. Signed-off-by: Vladimir Krivopalov Message-Id: <20eaa1338c1719ded34f5c9ada69ec03907936f5.1537989044.git.vladimir@scylladb.com> --- range_tombstone.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/range_tombstone.hh b/range_tombstone.hh index 94b1fad92d..42994296fc 100644 --- a/range_tombstone.hh +++ b/range_tombstone.hh @@ -151,9 +151,6 @@ public: } if (less(position(), pos)) { set_start(s, pos); - bound_view new_start = pos.as_start_bound_view(); - start = new_start.prefix(); - start_kind = new_start.kind(); } return true; }