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 MSVC compiler warnings #22701
Fix MSVC compiler warnings #22701
Conversation
a23aa74
to
e4c4b38
Compare
What the heck is wrong with "CI_Without Qt" all of a sudden?
|
e4c4b38
to
3953a68
Compare
Besides the GitHub CI error there's another issue:
|
} | ||
|
||
void PlaybackController::setTempoMultiplier(double multiplier) | ||
{ | ||
INotationPlaybackPtr playback = notationPlayback(); | ||
if (!playback) { | ||
INotationPlaybackPtr pb = notationPlayback(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, from my perspective, such variable names are not readable: if the method is large, then after a certain block of code you will no longer understand what ab/pb means
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
playback
is taken though
And this method is rather small
as is the scope of that ab
further up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this method is rather small
This is temporary :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better names? playbackPtr
? autobotOptions
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check now, whether you like it better...
reg.: declaration hides class member (C4458)
6909b31
to
63e01f1
Compare
reg.: declaration hides class member (C4458)