src: getNodeStyle() always return a value (#767)

Regards #758
This commit is contained in:
Michael Vetter
2019-11-19 17:52:29 +01:00
committed by Eberhard Gräther
parent 63007170df
commit 1e870e9a25
+1
View File
@@ -378,6 +378,7 @@ NodeType::StyleType NodeType::getNodeStyle() const
case NodeType::NODE_GLOBAL_VARIABLE:
case NodeType::NODE_FIELD:
case NodeType::NODE_ENUM_CONSTANT:
default:
return STYLE_SMALL_NODE;
}
}