Skip to content

Commit 5ee1f70

Browse files
committed
Remove unused code
1 parent b0a5061 commit 5ee1f70

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Partitioning.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ std::vector<Partition> Partitioning::readPartitions(BlockDeviceType * blockDevic
122122
return partitions;
123123
}
124124

125-
126125
auto table_start_offset = buffer_size - sizeof(mbrTable);
127126
auto table = reinterpret_cast<mbrTable*>(&buffer[table_start_offset]);
128127

@@ -134,7 +133,6 @@ std::vector<Partition> Partitioning::readPartitions(BlockDeviceType * blockDevic
134133
return partitions;
135134
}
136135

137-
auto part { 1u };
138136
int partitionIndex = 0;
139137
for (auto const& entry : table->entries) {
140138
partitionIndex ++;

0 commit comments

Comments
 (0)