Skip to content

Commit

Permalink
Merge pull request #26763 from Jojo-Schmitz/4.5.0-compiler-warnings
Browse files Browse the repository at this point in the history
4.5.0: Fix MSVC compiler warning
  • Loading branch information
RomanPudashkin authored Feb 27, 2025
2 parents 60468b2 + 8bde958 commit b611c32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/playback/internal/playbackcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,9 @@ void PlaybackController::toggleHearPlaybackWhenEditing()

void PlaybackController::reloadPlaybackCache()
{
INotationPlaybackPtr playback = notationPlayback();
if (playback) {
playback->reload();
INotationPlaybackPtr nPlayback = notationPlayback();
if (nPlayback) {
nPlayback->reload();
}
}

Expand Down

0 comments on commit b611c32

Please sign in to comment.