Skip to content

Commit

Permalink
Merge pull request #1737 from MarcSabatella/mtest-fix
Browse files Browse the repository at this point in the history
fix uninitialized variable
  • Loading branch information
MarcSabatella committed Feb 6, 2015
2 parents 1f6e959 + fa46cd2 commit b9e10df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libmscore/select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,8 @@ static bool checkStart(Element* e)
if (chord->tremolo() && chord->tremolo()->twoNotes())
rv = chord->tremolo()->chord2() == chord;
}
else
rv = false;
return rv;
}

Expand Down Expand Up @@ -1028,6 +1030,8 @@ static bool checkEnd(Element* e)
if (chord->tremolo() && chord->tremolo()->twoNotes())
rv = chord->tremolo()->chord1() == chord;
}
else
rv = false;
return rv;
}

Expand Down

0 comments on commit b9e10df

Please sign in to comment.