Skip to content

Commit b4c158e

Browse files
committed
gui: avoid empty string init
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 702a41f commit b4c158e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/src/dbDescriptors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5173,7 +5173,7 @@ Descriptor::Properties DbSBoxDescriptor::getDBProperties(odb::dbSBox* box) const
51735173

51745174
props.push_back({"SWire", gui->makeSelected(box->getSWire())});
51755175
props.push_back({"Shape type", box->getWireShapeType().getString()});
5176-
std::string direction = "";
5176+
std::string direction;
51775177
switch (box->getDirection()) {
51785178
case odb::dbSBox::UNDEFINED:
51795179
direction = "Undefined";

0 commit comments

Comments
 (0)