Skip to content
Snippets Groups Projects
Commit 6106318c authored by Shaju Mathew's avatar Shaju Mathew Committed by Gerrit Code Review
Browse files

Merge "Removing unused counters." into main

parents 0b50679b c94cf7d4
No related branches found
No related tags found
No related merge requests found
......@@ -468,7 +468,6 @@ private:
borrowed_fd incomingFd, bool waitOnEof, std::vector<char>* buffer,
std::vector<IncFsDataBlock>* blocks) {
IncFsSize remaining = size;
IncFsSize totalSize = 0;
IncFsBlockIndex blockIdx = 0;
while (remaining > 0) {
constexpr auto capacity = BUFFER_SIZE;
......@@ -502,7 +501,6 @@ private:
buffer->resize(size + read);
remaining -= read;
totalSize += read;
}
if (!buffer->empty() && !flashToIncFs(incfsFd, kind, true, &blockIdx, buffer, blocks)) {
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment