mirror of
https://github.com/neovim/neovim
synced 2025-07-28 01:11:53 +00:00
fix(PVS/V1001): variable is assigned but is not used
This commit is contained in:
@ -3614,7 +3614,7 @@ static const char *did_set_option(int opt_idx, void *varp, OptVal old_value, Opt
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Unset new_value as it is no longer valid.
|
// Unset new_value as it is no longer valid.
|
||||||
new_value = NIL_OPTVAL; // NOLINT(clang-analyzer-deadcode.DeadStores)
|
new_value = NIL_OPTVAL; // -V1001 NOLINT(clang-analyzer-deadcode.DeadStores)
|
||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user