mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
refactor: follow style guide
- reduce variable scope - prefer initialization over declaration and assignment - use bool to represent boolean values
This commit is contained in:
@@ -2541,9 +2541,7 @@ int op_change(oparg_T *oap)
|
||||
#if defined(EXITFREE)
|
||||
void clear_registers(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < NUM_REGISTERS; i++) {
|
||||
for (int i = 0; i < NUM_REGISTERS; i++) {
|
||||
free_register(&y_regs[i]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user