remove some dead code discovered while studying PVS-Studio's report

For #192.

* spot/misc/timer.hh, spot/twa/bdddict.cc, spot/twa/bdddict.hh,
spot/twaalgos/sbacc.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2016-10-28 22:55:48 +02:00
parent 279bfa00bd
commit 40b8bab890
4 changed files with 2 additions and 12 deletions

View file

@ -211,13 +211,6 @@ namespace spot
return i->second.first;
}
/// Return the timer \a name.
spot::timer&
timer(const std::string& name)
{
return tm[name].first;
}
/// \brief Whether there is no timer in the map.
///
/// If empty() return true, then either no timer where ever