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:
parent
279bfa00bd
commit
40b8bab890
4 changed files with 2 additions and 12 deletions
|
|
@ -211,13 +211,6 @@ namespace spot
|
||||||
return i->second.first;
|
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.
|
/// \brief Whether there is no timer in the map.
|
||||||
///
|
///
|
||||||
/// If empty() return true, then either no timer where ever
|
/// If empty() return true, then either no timer where ever
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,6 @@ namespace spot
|
||||||
bdd_info& i = bdd_map[num];
|
bdd_info& i = bdd_map[num];
|
||||||
i.type = acc;
|
i.type = acc;
|
||||||
i.f = f;
|
i.f = f;
|
||||||
i.clone_counts = 0;
|
|
||||||
}
|
}
|
||||||
bdd_map[num].refs.insert(for_me);
|
bdd_map[num].refs.insert(for_me);
|
||||||
return num;
|
return num;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- coding: utf-8 -*-
|
// -*- coding: utf-8 -*-
|
||||||
// Copyright (C) 2011, 2012, 2013, 2014, 2015 Laboratoire de Recherche
|
// Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016 Laboratoire de
|
||||||
// et Développement de l'Epita (LRDE).
|
// Recherche et Développement de l'Epita (LRDE).
|
||||||
// Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris
|
// Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris
|
||||||
// 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
// 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||||
// Université Pierre et Marie Curie.
|
// Université Pierre et Marie Curie.
|
||||||
|
|
@ -82,7 +82,6 @@ namespace spot
|
||||||
var_type type;
|
var_type type;
|
||||||
formula f; // Used unless t==anon.
|
formula f; // Used unless t==anon.
|
||||||
ref_set refs;
|
ref_set refs;
|
||||||
int clone_counts;
|
|
||||||
};
|
};
|
||||||
typedef std::vector<bdd_info> bdd_info_map;
|
typedef std::vector<bdd_info> bdd_info_map;
|
||||||
// Map BDD variables to their meaning.
|
// Map BDD variables to their meaning.
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,6 @@ namespace spot
|
||||||
acc = one_in[t.dst];
|
acc = one_in[t.dst];
|
||||||
if (dst_acc)
|
if (dst_acc)
|
||||||
acc |= common_out[t.dst];
|
acc |= common_out[t.dst];
|
||||||
common_out[t.dst];
|
|
||||||
res->new_edge(one.second, new_state(t.dst, acc),
|
res->new_edge(one.second, new_state(t.dst, acc),
|
||||||
t.cond, one.first.second);
|
t.cond, one.first.second);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue