Since https://phab.mercurial-scm.org/D11387 (i.e. the same patch as
mentioned in my previous patch), Clang has also started warning about
dirstate_item_set_possibly_dirty() missing an explicit return, and
about its use of the result of an assignment as a condition without
using parentheses. This patch fixes that.
Details
Details
- Reviewers
marmoute Alphare - Group Reviewers
hg-reviewers - Commits
- rHG2018753014be: dirstate: fix compilation warnings in `dirstate_item_set_possibly_dirty()`
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
@marmoute You should have a look at this (also pinging to fix the CI today for the minisprint)
Comment Actions
We should just drop the if :
self->flags |= dirstate_flag_possibly_dirty; Py_RETURN_NONE