ruby: remove unused variable m_print_config in class Topology
This commit is contained in:
parent
da950caed2
commit
e95e78ff2f
2 changed files with 0 additions and 2 deletions
|
@ -61,7 +61,6 @@ NetDest shortest_path_to_node(SwitchID src, SwitchID next,
|
||||||
Topology::Topology(const Params *p)
|
Topology::Topology(const Params *p)
|
||||||
: SimObject(p)
|
: SimObject(p)
|
||||||
{
|
{
|
||||||
m_print_config = p->print_config;
|
|
||||||
m_number_of_switches = p->routers.size();
|
m_number_of_switches = p->routers.size();
|
||||||
|
|
||||||
// initialize component latencies record
|
// initialize component latencies record
|
||||||
|
|
|
@ -93,7 +93,6 @@ class Topology : public SimObject
|
||||||
Topology& operator=(const Topology& obj);
|
Topology& operator=(const Topology& obj);
|
||||||
|
|
||||||
std::string m_name;
|
std::string m_name;
|
||||||
bool m_print_config;
|
|
||||||
NodeID m_nodes;
|
NodeID m_nodes;
|
||||||
int m_number_of_switches;
|
int m_number_of_switches;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue