Fix some compilation warnings

This commit is contained in:
Jack Andersen
2019-04-06 18:59:49 -10:00
parent aeaba9366d
commit 1b10016369
6 changed files with 4 additions and 21 deletions

View File

@@ -199,7 +199,7 @@ CommandWidget::CommandWidget(QWidget* parent, amuse::SoundMacro::ICmd* cmd, amus
case amuse::SoundMacro::CmdIntrospection::Field::Type::SoundMacroId:
case amuse::SoundMacro::CmdIntrospection::Field::Type::TableId:
case amuse::SoundMacro::CmdIntrospection::Field::Type::SampleId: {
ProjectModel::INode::Type collectionType;
ProjectModel::INode::Type collectionType = ProjectModel::INode::Type::Null;
if (field.m_tp == amuse::SoundMacro::CmdIntrospection::Field::Type::SoundMacroId) {
collectionType = ProjectModel::INode::Type::SoundMacro;
} else if (field.m_tp == amuse::SoundMacro::CmdIntrospection::Field::Type::TableId) {