Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed May 15, 2024
1 parent 5cc0512 commit 62b16fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3344,8 +3344,6 @@ bool EditorToolkitNeume::ToggleLigature(std::vector<std::string> elementIds)
assert(elementIds.size() == 2);
bool success1 = false;
bool success2 = false;
Facsimile *facsimile = m_doc->GetFacsimile();
assert(facsimile);
std::string firstNcId = elementIds[0];
std::string secondNcId = elementIds[1];
// Check if you can get drawing page
Expand Down
4 changes: 0 additions & 4 deletions src/view_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ void View::DrawLiquescent(DeviceContext *dc, LayerElement *element, Layer *layer
assert(staff);
assert(measure);

Liquescent *liquescent = dynamic_cast<Liquescent *>(element);
assert(liquescent);

struct drawingParams {
wchar_t fontNo = SMUFL_E990_chantPunctum;
wchar_t fontNoLiq[5] = {};
Expand All @@ -83,7 +80,6 @@ void View::DrawLiquescent(DeviceContext *dc, LayerElement *element, Layer *layer
int clefLine = clef->GetLine();

Nc *nc = dynamic_cast<Nc *>(element->GetParent());
assert(liquescent);

if (nc->GetCurve() == curvatureDirection_CURVE_c) {
params.at(0).fontNoLiq[0] = SMUFL_E9BE_chantConnectingLineAsc3rd;
Expand Down

0 comments on commit 62b16fd

Please sign in to comment.