mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
fix a few compiler warnings
This commit is contained in:
parent
d00e035fe0
commit
a42b9ff86e
2 changed files with 6 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ MidiModel::NoteDiffCommand::get_value (const NotePtr note, Property prop)
|
||||||
case Length:
|
case Length:
|
||||||
return Variant(note->length());
|
return Variant(note->length());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Variant ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Variant::Type
|
Variant::Type
|
||||||
|
|
@ -193,6 +195,8 @@ MidiModel::NoteDiffCommand::value_type(Property prop)
|
||||||
case Length:
|
case Length:
|
||||||
return Variant::BEATS;
|
return Variant::BEATS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Variant::NOTHING;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,8 @@ Transform::Value::eval(const Context& ctx) const
|
||||||
case RANDOM:
|
case RANDOM:
|
||||||
return Variant(g_random_double());
|
return Variant(g_random_double());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Variant ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue