1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

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

View file

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