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

Regards #758
This commit is contained in:
Michael Vetter
2019-12-16 15:53:58 +01:00
committed by Eberhard Graether
parent 5185b8de44
commit 8c589502d8
+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;
}
}