mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
record_play_mixer: report set version in state
Give the version in the state-report only if it is set. Issue #5174.
This commit is contained in:
parent
c822dc0f18
commit
e0f5a2ddc5
@ -122,7 +122,9 @@ struct Mixer::Main : Record_session::Operations, Play_session::Operations
|
||||
void _update_state_report()
|
||||
{
|
||||
_state_reporter.generate([&] (Xml_generator &xml) {
|
||||
xml.attribute("version", _version);
|
||||
if (_version != "")
|
||||
xml.attribute("version", _version);
|
||||
|
||||
_generate_state_report(xml);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user