mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
refactor: uncrustify
Notable changes: replace all infinite loops to `while(true)` and remove `int` from `unsigned int`.
This commit is contained in:
@@ -2558,7 +2558,7 @@ static char *get_one_sourceline(struct source_cookie *sp)
|
||||
|
||||
// Loop until there is a finished line (or end-of-file).
|
||||
sp->sourcing_lnum++;
|
||||
for (;;) {
|
||||
while (true) {
|
||||
// make room to read at least 120 (more) characters
|
||||
ga_grow(&ga, 120);
|
||||
buf = ga.ga_data;
|
||||
|
Reference in New Issue
Block a user