Skip to content

Commit cc019f7

Browse files
committed
make basic_parser tests informative in CI
1 parent c6d46a4 commit cc019f7

File tree

2 files changed

+575
-618
lines changed

2 files changed

+575
-618
lines changed

include/boost/json/detail/utf8.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ template<int N>
2323
std::uint32_t
2424
load_little_endian(void const* p)
2525
{
26-
// VFALCO do we need to initialize this to 0?
27-
std::uint32_t v;
26+
std::uint32_t v = 0;
2827
std::memcpy(&v, p, N);
2928
#ifdef BOOST_JSON_BIG_ENDIAN
3029
v = ((v & 0xFF000000) >> 24) |

0 commit comments

Comments
 (0)