Added comment for GCC 12.1 false-positive (issue #2100)
This commit is contained in:
parent
6ff85eebe5
commit
3e424550d8
@ -263,7 +263,7 @@ void Http::Response::parse(const std::string& data)
|
||||
for (std::size_t i = 0; ((i < length) && (it != itEnd)); i++)
|
||||
{
|
||||
m_body.push_back(*it);
|
||||
++it;
|
||||
++it; // Iterate in separate expression to work around false positive -Wnull-dereference warning in GCC 12.1.0
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user