mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #16849 from dundargoc/refactor/pvs/v1048
refactor(PVS/V1048): prevent "variable was assigned the same value" warning
This commit is contained in:
commit
4b84544d86
@ -1032,9 +1032,9 @@ void ml_recover(bool checkext)
|
||||
line_count = 0;
|
||||
idx = 0; // start with first index in block 1
|
||||
error = 0;
|
||||
buf->b_ml.ml_stack_top = 0;
|
||||
buf->b_ml.ml_stack_top = 0; // -V1048
|
||||
buf->b_ml.ml_stack = NULL;
|
||||
buf->b_ml.ml_stack_size = 0; // no stack yet
|
||||
buf->b_ml.ml_stack_size = 0; // -V1048
|
||||
|
||||
if (curbuf->b_ffname == NULL) {
|
||||
cannot_open = true;
|
||||
|
Loading…
Reference in New Issue
Block a user