mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
refactor(PVS/V1048): ignore "assigned the same value" warning
This commit is contained in:
@@ -1032,9 +1032,9 @@ void ml_recover(bool checkext)
|
|||||||
line_count = 0;
|
line_count = 0;
|
||||||
idx = 0; // start with first index in block 1
|
idx = 0; // start with first index in block 1
|
||||||
error = 0;
|
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 = NULL;
|
||||||
buf->b_ml.ml_stack_size = 0; // no stack yet
|
buf->b_ml.ml_stack_size = 0; // -V1048
|
||||||
|
|
||||||
if (curbuf->b_ffname == NULL) {
|
if (curbuf->b_ffname == NULL) {
|
||||||
cannot_open = true;
|
cannot_open = true;
|
||||||
|
Reference in New Issue
Block a user