mirror of
https://github.com/nlohmann/json.git
synced 2026-11-12 07:00:46 +00:00
Compare commits
4
Commits
70a4b25cd2
...
d2436351cd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2436351cd | ||
|
|
2a816f9842 | ||
|
|
a0e2cdbab9 | ||
|
|
bf81ab564f |
No files matched your search
@@ -1720,6 +1720,8 @@ class binary_reader
|
||||
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
|
||||
const unsigned char head = data[0];
|
||||
std::size_t size = 0;
|
||||
// false positive: every case assigns accepted before it is read
|
||||
// @infer-ignore DEAD_STORE
|
||||
bool accepted = true;
|
||||
switch (head)
|
||||
{
|
||||
@@ -2655,6 +2657,8 @@ class binary_reader
|
||||
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
|
||||
const unsigned char head = data[0];
|
||||
std::size_t size = 0;
|
||||
// false positive: every case assigns accepted before it is read
|
||||
// @infer-ignore DEAD_STORE
|
||||
bool accepted = true;
|
||||
switch (head)
|
||||
{
|
||||
|
||||
Generated
+4
@@ -19497,6 +19497,8 @@ class binary_reader
|
||||
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
|
||||
const unsigned char head = data[0];
|
||||
std::size_t size = 0;
|
||||
// false positive: every case assigns accepted before it is read
|
||||
// @infer-ignore DEAD_STORE
|
||||
bool accepted = true;
|
||||
switch (head)
|
||||
{
|
||||
@@ -20432,6 +20434,8 @@ class binary_reader
|
||||
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
|
||||
const unsigned char head = data[0];
|
||||
std::size_t size = 0;
|
||||
// false positive: every case assigns accepted before it is read
|
||||
// @infer-ignore DEAD_STORE
|
||||
bool accepted = true;
|
||||
switch (head)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user