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:
Justin M. Keyes 2018-10-21 22:12:50 +02:00
parent a8422818a7
commit 2afebc4e5f

View File

@ -741,6 +741,7 @@ typval_encode_stop_converting_one_item:
case kMPConvPartial: {
partial_T *const pt = cur_mpsv->data.p.pt;
tv = cur_mpsv->tv;
(void)tv;
switch (cur_mpsv->data.p.stage) {
case kMPConvPartialArgs: {
TYPVAL_ENCODE_CONV_FUNC_BEFORE_ARGS(tv,