mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00: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:

committed by
Justin M. Keyes

parent
452ec4ed31
commit
8499e18615
@@ -382,7 +382,7 @@ static int _TYPVAL_ENCODE_CONVERT_ONE_VALUE(
|
|||||||
case VAR_SPECIAL: {
|
case VAR_SPECIAL: {
|
||||||
switch (tv->vval.v_special) {
|
switch (tv->vval.v_special) {
|
||||||
case kSpecialVarNull: {
|
case kSpecialVarNull: {
|
||||||
TYPVAL_ENCODE_CONV_NIL(tv);
|
TYPVAL_ENCODE_CONV_NIL(tv); // -V1037
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kSpecialVarTrue:
|
case kSpecialVarTrue:
|
||||||
|
Reference in New Issue
Block a user