mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-09-27 00:29:13 +08:00
Fix warning: control reaches end of non-void function
This commit is contained in:
parent
f95fcf17b4
commit
5dacc85ff9
@ -151,9 +151,8 @@ rviz::Property* Parser::process(const yaml_event_t& event, const QString& name,
|
|||||||
case YAML_SCALAR_EVENT:
|
case YAML_SCALAR_EVENT:
|
||||||
return createScalar(name, description, byteArray(event), old);
|
return createScalar(name, description, byteArray(event), old);
|
||||||
default:
|
default:
|
||||||
break;
|
throw std::runtime_error("Unhandled YAML event");
|
||||||
}
|
}
|
||||||
assert(false); // should not be reached
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to set numeric or arbitrary scalar value from YAML node. Needs to match old's type.
|
// Try to set numeric or arbitrary scalar value from YAML node. Needs to match old's type.
|
||||||
|
Loading…
Reference in New Issue
Block a user