Closed b4yuan closed 1 year ago
In the following lines (36039, 36136, 36173 respectively), the difference of two unsigned integers is compared to 0. However, since the difference of two unsigned integers can never be less than 0, this suggests that the comparison might mask a bug.
if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){ if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){ if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){
if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){
In the following lines (36039, 36136, 36173 respectively), the difference of two unsigned integers is compared to 0. However, since the difference of two unsigned integers can never be less than 0, this suggests that the comparison might mask a bug.
if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){
if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){
if( SyBlobLength(&pDev->sBuffer) - pDev->nOfft > 0 ){