mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
fix(PVS/V1001): variable is assigned but is not used
This commit is contained in:
parent
be83cd73b2
commit
128e194f64
@ -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.
|
||||
new_value = NIL_OPTVAL; // NOLINT(clang-analyzer-deadcode.DeadStores)
|
||||
new_value = NIL_OPTVAL; // -V1001 NOLINT(clang-analyzer-deadcode.DeadStores)
|
||||
return errmsg;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user