Page MenuHomeFreeBSD

Fix a logic bug when "mask: contains a ?: operator.
ClosedPublic

Authored by brooks on Wed, Nov 27, 5:38 PM.

Details

Summary

Newer versions of clang warn that '&' evaluates before '?:'.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks created this revision.Wed, Nov 27, 5:38 PM
markj accepted this revision.Wed, Nov 27, 6:13 PM
This revision is now accepted and ready to land.Wed, Nov 27, 6:13 PM
This revision was automatically updated to reflect the committed changes.
imp added a comment.Wed, Nov 27, 8:38 PM

I would have been tempted to put parents around all macro args while l was at it...