mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
fix: address -Wmaybe-uninitialized warnings (#22436)
This commit is contained in:
@@ -1899,8 +1899,8 @@ static void win_rotate(bool upwards, int count)
|
||||
}
|
||||
}
|
||||
|
||||
win_T *wp1;
|
||||
win_T *wp2;
|
||||
win_T *wp1 = NULL;
|
||||
win_T *wp2 = NULL;
|
||||
|
||||
while (count--) {
|
||||
if (upwards) { // first window becomes last window
|
||||
|
Reference in New Issue
Block a user