Commit c31ba658 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

optionmap: remove superfluous code

This was noticed while looking at a false-positive in the report for
PVS-Studio, in #192.

* spot/misc/optionmap.cc: Do not remove the option from unused_ twice..
parent 65955b44
......@@ -182,7 +182,6 @@ namespace spot
int
option_map::operator[](const char* option) const
{
unused_.erase(option);
return get(option);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment