mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-13 18:36:38 +02:00
Coding style fixes in AK.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 16:00:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b75ee4aacbf
@@ -158,7 +158,7 @@ Vector<unsigned> Ext2FS::block_list_for_inode(const ext2_inode& e2inode) const
|
||||
unsigned blockCount = e2inode.i_blocks / (blockSize() / 512);
|
||||
unsigned blocksRemaining = blockCount;
|
||||
Vector<unsigned> list;
|
||||
list.ensureCapacity(blocksRemaining);
|
||||
list.ensure_capacity(blocksRemaining);
|
||||
|
||||
unsigned directCount = min(blockCount, (unsigned)EXT2_NDIR_BLOCKS);
|
||||
for (unsigned i = 0; i < directCount; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user