1
0
mirror of https://github.com/SFML/SFML.git synced 2025-03-14 01:40:05 +08:00

Added comment for GCC 12.1 false-positive (issue )

This commit is contained in:
Andrew King 2022-05-21 23:16:40 -04:00 committed by Lukas Dürrenberger
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
}
}