DIRECTOR: LINGO: Clarify the control flow

This commit is contained in:
Eugene Sandulenko 2020-01-06 13:26:18 +01:00
parent 046c1fc1c7
commit 14719c46c7

View File

@ -323,6 +323,7 @@ double Datum::toFloat() {
switch (type) {
case REFERENCE:
toString();
// fallthrough
case STRING:
u.f = atof(u.s->c_str());
break;