Skip to content

Commit 54ebbdc

Browse files
authored
initialize tlmbusconnectors to NULL (#1263)
* initialize tlmbusconnectors to NULL
1 parent 661db67 commit 54ebbdc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/OMSimulatorLib/Element.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ oms::Element::Element(oms_element_enu_t type, const oms::ComRef& name)
4141
this->elements = nullptr;
4242
this->connectors = nullptr;
4343
this->busconnectors = nullptr;
44-
#if !defined(NO_TLM)
4544
this->tlmbusconnectors = nullptr;
46-
#endif
4745
this->geometry = reinterpret_cast<ssd_element_geometry_t*>(new oms::ssd::ElementGeometry());
4846
}
4947

0 commit comments

Comments
 (0)