Fix a crash in debug mode
The assert for spinner getStringValue not returning empty is unnecessary.
This commit is contained in:
parent
66a85d8bf7
commit
7320f2e70d
@ -458,11 +458,7 @@ stringw SpinnerWidget::getStringValue() const
|
|||||||
stringw text = StringUtils::insertValues(m_text.c_str(), m_value);
|
stringw text = StringUtils::insertValues(m_text.c_str(), m_value);
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
else
|
// This can happen if the spinner has not been initialized yet.
|
||||||
{
|
|
||||||
assert(false);
|
|
||||||
}
|
|
||||||
/** To avoid compiler warnings about missing return statements. */
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user