Erroneous duplicate check (actually 4 times) of an identical condition
Reported version
4.x-dev
Type
Development
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
/src/framework/audio/internal/platform/osx/osxaudiodriver.cpp line 140
code:
isprint(errorString[0]) && isprint(errorString[0]) && isprint(errorString[0]) && isprint(errorString[0]
Comments
Or src/framework/audio/internal/platform/osx/osxaudiodriver.cpp, line 140
I guess instead of
it should rather be
if (isprint(errorString[0]) && isprint(errorString[1]) && isprint(errorString[2]) && isprint(errorString[3])) {
See https://github.com/musescore/MuseScore/pull/7133
Fixed in branch master, commit fcaf1a393b
Fix #314612: Erroneous duplicate check (actually 4 times) of an identical condition
Fix version, @Jojo-Schmitz? :-)
;-)
Actually 4.0 is not.yet available to pick
Oh…
Automatically closed -- issue fixed for 2 weeks with no activity.