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

LibGfx: Hotfix a -Wmaybe-uninitialized failure on the build bots

This commit is contained in:
Andreas Kling 2021-07-27 22:08:46 +02:00
parent 7696e96c7f
commit d5a27d77d7

View file

@ -45,7 +45,7 @@ Vector<String, 32> TextLayout::wrap_lines(TextElision elision, TextWrapping wrap
Vector<Block> blocks;
Optional<BlockType> current_block_type;
size_t block_start_offset;
size_t block_start_offset = 0;
size_t offset = 0;
for (auto it = m_text.begin(); !it.done(); ++it) {