diff options
Diffstat (limited to 'src/mpack/conv.c')
-rw-r--r-- | src/mpack/conv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mpack/conv.c b/src/mpack/conv.c index 203b13fadb..6bd446ca49 100644 --- a/src/mpack/conv.c +++ b/src/mpack/conv.c @@ -1,3 +1,6 @@ +// This is an open source non-commercial project. Dear PVS-Studio, please check +// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + #include "conv.h" static int mpack_fits_single(double v); @@ -298,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; |