We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d46a4 commit cc019f7Copy full SHA for cc019f7
include/boost/json/detail/utf8.hpp
@@ -23,8 +23,7 @@ template<int N>
23
std::uint32_t
24
load_little_endian(void const* p)
25
{
26
- // VFALCO do we need to initialize this to 0?
27
- std::uint32_t v;
+ std::uint32_t v = 0;
28
std::memcpy(&v, p, N);
29
#ifdef BOOST_JSON_BIG_ENDIAN
30
v = ((v & 0xFF000000) >> 24) |
0 commit comments