diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-10-21 22:12:50 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-10-21 23:24:50 +0200 |
commit | 2afebc4e5f551c7a4f7655d6d693a0ca745a6a31 (patch) | |
tree | 5e2532ae77f125274778a54cb06b8feee47e5c6f /src/nvim/eval/typval_encode.c.h | |
parent | a8422818a74b56ab42a92cbf3c044165657a4060 (diff) | |
download | rneovim-2afebc4e5f551c7a4f7655d6d693a0ca745a6a31.tar.gz rneovim-2afebc4e5f551c7a4f7655d6d693a0ca745a6a31.tar.bz2 rneovim-2afebc4e5f551c7a4f7655d6d693a0ca745a6a31.zip |
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
Diffstat (limited to 'src/nvim/eval/typval_encode.c.h')
-rw-r--r-- | src/nvim/eval/typval_encode.c.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval/typval_encode.c.h b/src/nvim/eval/typval_encode.c.h index 4556ce8193..623bdfc93b 100644 --- a/src/nvim/eval/typval_encode.c.h +++ b/src/nvim/eval/typval_encode.c.h @@ -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, |