fix a few compiler warnings

This commit is contained in:
Paul Davis 2014-12-29 18:17:26 -05:00
parent d00e035fe0
commit a42b9ff86e
2 changed files with 6 additions and 0 deletions

View File

@ -179,6 +179,8 @@ MidiModel::NoteDiffCommand::get_value (const NotePtr note, Property prop)
case Length:
return Variant(note->length());
}
return Variant ();
}
Variant::Type
@ -193,6 +195,8 @@ MidiModel::NoteDiffCommand::value_type(Property prop)
case Length:
return Variant::BEATS;
}
return Variant::NOTHING;
}
void

View File

@ -62,6 +62,8 @@ Transform::Value::eval(const Context& ctx) const
case RANDOM:
return Variant(g_random_double());
}
return Variant ();
}
void