fix(PVS/V1048): "variable was assigned the same value" #15870

This commit is contained in:
dundargoc
2021-10-06 16:47:31 +02:00
committed by GitHub
parent 45b9815fc1
commit d0c0878b3e
2 changed files with 0 additions and 3 deletions

View File

@@ -301,7 +301,6 @@ MPACK_API double mpack_unpack_number(mpack_token_t t)
*/
if (!hi) {
assert(t.length <= 4);
hi = 0;
lo = (~lo & (((mpack_uint32_t)1 << ((t.length * 8) - 1)) - 1));
} else {
hi = ~hi;