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.
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
You need to log in before you can comment on or make changes to this bug.