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:
Ihor Antonov 2019-07-17 19:20:59 -04:00 committed by Justin M. Keyes
parent 452ec4ed31
commit 8499e18615

View File

@ -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: