no functional change intended
Details
Details
- Reviewers
- None
- Group Reviewers
Klara - Commits
- rGd458eb8de12c: diff3: make the eflag logic easier to follow
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 46267 Build 43156: arc lint + arc unit
Event Timeline
usr.bin/diff3/diff3.c | ||
---|---|---|
115 | I'd have called this EFLAG_NONE, for consistency; but it's a matter of taste. :) | |
538–540 | I'd write this as: if ( (!dup && (eflag == EFLAG_OVERLAP || eflag == EFLAG_UNMERGED) || (dup && (eflag == EFLAG_NOOVERLAP || eflag == EFLAG_UNMERGED)) ) and get rid of the bitmasking stuff. You can then also get rid of the comment altogether (or maybe simplify it.) |