mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -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.
|
// 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user