mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
eval/typval_encode: Silence then/else equivalence warning
This commit is contained in:
@@ -489,7 +489,7 @@ static int _TYPVAL_ENCODE_CONVERT_ONE_VALUE(
|
|||||||
}
|
}
|
||||||
if (is_string) {
|
if (is_string) {
|
||||||
TYPVAL_ENCODE_CONV_STR_STRING(tv, buf, len);
|
TYPVAL_ENCODE_CONV_STR_STRING(tv, buf, len);
|
||||||
} else {
|
} else { // -V523
|
||||||
TYPVAL_ENCODE_CONV_STRING(tv, buf, len);
|
TYPVAL_ENCODE_CONV_STRING(tv, buf, len);
|
||||||
}
|
}
|
||||||
xfree(buf);
|
xfree(buf);
|
||||||
|
Reference in New Issue
Block a user