mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
refactor: uncrustify
Notable changes: replace all infinite loops to `while(true)` and remove `int` from `unsigned int`.
This commit is contained in:
@@ -628,7 +628,7 @@ static int mf_write(memfile_T *mfp, bhdr_T *hp)
|
||||
/// to extend the file.
|
||||
/// If block 'mf_infile_count' is not in the hash list, it has been
|
||||
/// freed. Fill the space in the file with data from the current block.
|
||||
for (;;) {
|
||||
while (true) {
|
||||
blocknr_T nr = hp->bh_bnum; // block nr which is being written
|
||||
if (nr > mfp->mf_infile_count) { // beyond end of file
|
||||
nr = mfp->mf_infile_count;
|
||||
|
Reference in New Issue
Block a user