Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nonsense warnings in MusicXML #22709

Merged
merged 6 commits into from May 13, 2024

Conversation

rettinghaus
Copy link
Contributor

This removes debug warnings about unknown attribute values in MusicXML importer.

  1. Files are validated on load, so invalid values will be reported anyway
  2. Most of these were false positives, warning when there actually was no attribute in the first place

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 8, 2024
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 8, 2024
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 8, 2024
@cbjeukendrup cbjeukendrup requested a review from miiizen May 10, 2024 14:16
@@ -8031,30 +8026,8 @@ void MusicXMLParserNotations::addNotation(const Notation& notation, ChordRest* c
String notationType = notation.attribute(u"type");
String placement = notation.attribute(u"placement");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two variables can go now as they're unused

@RomanPudashkin RomanPudashkin merged commit 42abbed into musescore:master May 13, 2024
11 checks passed
@rettinghaus rettinghaus deleted the xml/warnings branch May 13, 2024 08:06
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 13, 2024
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants