Open
Bug 1249232
Opened 8 years ago
Updated 2 years ago
MOZ_MUST_USE_TYPE should also check unused parameter
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
NEW
People
(Reporter: xidorn, Unassigned)
References
Details
Like return value, if a parameter with type marked as MOZ_MUST_USE is not used in some of code paths, it could also indicate potential bugs. It seems this kind of code has already existed, so it would need some more work to enforce that.
Comment 1•8 years ago
|
||
Bug 1267550 renamed MOZ_MUST_USE as MOZ_MUST_USE_TYPE.
Summary: MOZ_MUST_USE should also check unused parameter → MOZ_MUST_USE_TYPE should also check unused parameter
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•