Understanding that this is not a ton of context, I have this line:
using GridType = Grid<boost::optional<float>, 2>;
for which cppcheck says:
Redundant code: Found a statement that begins with numeric constant.
I would think "false positive", but usually these analysis tools are smarter than me, so I wanted to check if anyone can think of why a statement like this could be interpreted like that by the analyzer?
Aucun commentaire:
Enregistrer un commentaire