summaryrefslogtreecommitdiff
path: root/external/mdds/Wunused-but-set-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/mdds/Wunused-but-set-variable.patch')
-rw-r--r--external/mdds/Wunused-but-set-variable.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/external/mdds/Wunused-but-set-variable.patch b/external/mdds/Wunused-but-set-variable.patch
deleted file mode 100644
index ba28cb18eded..000000000000
--- a/external/mdds/Wunused-but-set-variable.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- include/mdds/multi_type_vector_def.inl
-+++ include/mdds/multi_type_vector_def.inl
-@@ -843,18 +843,12 @@
- typename multi_type_vector<_CellBlockFunc, _EventFunc>::iterator
- multi_type_vector<_CellBlockFunc, _EventFunc>::push_back_empty()
- {
-- size_type last_block_size = 0;
-- if (!m_blocks.empty())
-- last_block_size = m_blocks.back().m_size;
--
- size_type block_index = m_blocks.size();
-- size_type start_pos = m_cur_size;
-
- if (!append_empty(1))
- {
- // Last empty block has been extended.
- --block_index;
-- start_pos -= last_block_size;
- }
-
- // Get the iterator of the last block.
-@@ -3923,8 +3917,6 @@
- size_type offset = start_row - start_row_in_block1;
- size_type end_row_in_block2 = start_row_in_block2 + blk2->m_size - 1;
-
-- size_type start_row_itr = start_row_in_block1;
--
- // Initially set to erase blocks between block 1 and block 2 non-inclusive at either end.
- typename blocks_type::iterator it_erase_begin = m_blocks.begin() + block_index1 + 1;
- typename blocks_type::iterator it_erase_end = m_blocks.begin() + block_index2;
-@@ -3948,7 +3940,6 @@
- data_blk.mp_data = blk0->mp_data;
- blk0->mp_data = nullptr;
-
-- start_row_itr -= blk0->m_size;
- data_blk.m_size += blk0->m_size;
- data_blk.m_position = blk0->m_position;
-
-@@ -3967,7 +3958,6 @@
- element_block_func::resize_block(*blk1->mp_data, offset);
- }
- blk1->m_size = offset;
-- start_row_itr += offset;
- }
-
- if (blk0_copied)