Skip to content

Commit

Permalink
Code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Dec 1, 2024
1 parent bfcfe70 commit 6f5e4ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/engraving/dom/check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ Ret MasterScore::sanityCheck()
if (accumulatedErrors.empty()) {
return muse::make_ok();
}
setHasCorruptedMeasures(true);
return Ret(static_cast<int>(Err::FileCorrupted), accumulatedErrors);
}

Expand Down
2 changes: 0 additions & 2 deletions src/project/internal/projectautosaver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,10 @@ void ProjectAutoSaver::onTrySave()
return;
}

#ifndef NDEBUG
if (!project->canSave()) {
LOGD() << "[autosave] project could not be saved";
return;
}
#endif

muse::io::path_t projectPath = this->projectPath(project);
muse::io::path_t savePath = project->isNewlyCreated() ? projectPath : projectAutoSavePath(projectPath);
Expand Down

0 comments on commit 6f5e4ba

Please sign in to comment.