Bikeshed!
Details
Details
Diff Detail
Diff Detail
Event Timeline
tools/scan-build/scan-build | ||
---|---|---|
873 | From the following line ($Num > 0 && …), it looks like the Num bug can also be 0, so instead of '== 1', shouldn't it be <= 1 ? |
Comment Actions
"No bugs found" is correct English for "0 bugs found". "No bug found" implies that there will only ever be 0 or 1. "0 bug found" is just incorrect English.
Comment Actions
Merged in commit r208951
tools/scan-build/scan-build | ||
---|---|---|
873 | When it is 0, I think we have already left the function |
From the following line ($Num > 0 && …), it looks like the Num bug can also be 0, so instead of '== 1', shouldn't it be <= 1 ?