Fix warning related to unreachable-code-return, remove redundant return.

Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
pull/5045/head
Jackie9527 2023-04-01 15:47:37 +08:00
parent 502bceb6e8
commit 55c6eaee0c
1 changed files with 0 additions and 1 deletions

View File

@ -128,7 +128,6 @@ bool OgreXmlSerializer::ReadAttribute<bool>(XmlNode &xmlNode, const char *name)
}
ThrowAttibuteError(xmlNode.name(), name, "Boolean value is expected to be 'true' or 'false', encountered '" + value + "'");
return false;
}
// Mesh XML constants