Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12051a09 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

Initialize |sentBlocksCount|

It happened to always be 0 during all tests.

Test: manual
Change-Id: I2f5089096a8ecda2ec52756199412c7d43f6903c
parent b6595064
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ class File {
    const unique_fd& RawFd() const { return fd_; }

    std::vector<bool> sentBlocks;
    NumBlocks sentBlocksCount;
    NumBlocks sentBlocksCount = 0;

    const char* const filepath;
    const FileId id;