mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
PVS/V1037: suppress warning #10528
Despite the PVS warning, we do not want to conflate these cases, they are semantically different.
This commit is contained in:
parent
452ec4ed31
commit
8499e18615
@ -382,7 +382,7 @@ static int _TYPVAL_ENCODE_CONVERT_ONE_VALUE(
|
||||
case VAR_SPECIAL: {
|
||||
switch (tv->vval.v_special) {
|
||||
case kSpecialVarNull: {
|
||||
TYPVAL_ENCODE_CONV_NIL(tv);
|
||||
TYPVAL_ENCODE_CONV_NIL(tv); // -V1037
|
||||
break;
|
||||
}
|
||||
case kSpecialVarTrue:
|
||||
|
Loading…
Reference in New Issue
Block a user