mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix warning: "Dead assignment"
`tv` is passed to the TYPVAL_ENCODE_CONV_FUNC_BEFORE_* macros, which don't appear to actually use that parameter. Found by clang scan-build 5.0
This commit is contained in:
parent
a8422818a7
commit
2afebc4e5f
@ -741,6 +741,7 @@ typval_encode_stop_converting_one_item:
|
|||||||
case kMPConvPartial: {
|
case kMPConvPartial: {
|
||||||
partial_T *const pt = cur_mpsv->data.p.pt;
|
partial_T *const pt = cur_mpsv->data.p.pt;
|
||||||
tv = cur_mpsv->tv;
|
tv = cur_mpsv->tv;
|
||||||
|
(void)tv;
|
||||||
switch (cur_mpsv->data.p.stage) {
|
switch (cur_mpsv->data.p.stage) {
|
||||||
case kMPConvPartialArgs: {
|
case kMPConvPartialArgs: {
|
||||||
TYPVAL_ENCODE_CONV_FUNC_BEFORE_ARGS(tv,
|
TYPVAL_ENCODE_CONV_FUNC_BEFORE_ARGS(tv,
|
||||||
|
Loading…
Reference in New Issue
Block a user