Identical condition checked twice

• Dec 23, 2020 - 11:57
Type
Development
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

/src/importexport/internal/ove/ove.cpp line 9428
Code:
if (info.lyricSize_ > 0) {
// lyric
if (info.lyricSize_ > 0) { // <-- identical
if (!readBuffer(placeHolder, info.lyricSize_)) {
return false;
}
info.lyric_ = ove_->getCodecString(placeHolder.fixedSizeBufferToStrByteArray());
}


Comments