From 207ef304c39d1fa8d8de5e7cd4bc765bed1dc6e8 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 12 Dec 2018 10:23:35 +0000 Subject: [PATCH] [era/restore_emitter] remove a noop Pointless self assignment. Value in suerpblock does get assigned properly. --- era/restore_emitter.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/era/restore_emitter.cc b/era/restore_emitter.cc index 4faf618..85fbe6b 100644 --- a/era/restore_emitter.cc +++ b/era/restore_emitter.cc @@ -28,8 +28,6 @@ namespace { sb.nr_blocks = nr_blocks; sb.current_era = current_era; - nr_blocks = nr_blocks; - md_.era_array_->grow(nr_blocks, 0); in_superblock_ = true;