Initialize pointer array (FWIW). Thanks, Coverity!

This commit is contained in:
Axel Naumann 2017-06-23 12:27:27 +02:00 committed by sftnight
parent 0b3c8e3acd
commit 1b2a853b7d

View File

@ -41,7 +41,7 @@ namespace {
private:
// A simple round-robin cache: what enters first, leaves first.
// MRU cache wasn't worth the extra CPU cycles.
std::array<const void*, 8> lines;
std::array<const void*, 8> lines = {};
std::atomic<unsigned> mostRecent = {0};
int FD;