Kernel: Zero initialize DoubleBuffer::InnerBuffer::size

Found by PVS-Studio.
This commit is contained in:
Brian Gianforcaro 2022-03-13 21:15:29 -07:00 committed by Brian Gianforcaro
parent 8a8c51c39a
commit ddd75db007
Notes: sideshowbarker 2024-07-17 17:13:24 +09:00

View file

@ -58,7 +58,7 @@ private:
struct InnerBuffer {
u8* data { nullptr };
size_t size;
size_t size { 0 };
};
InnerBuffer* m_write_buffer { nullptr };