This is an archive of the discontinued Mercurial Phabricator instance.

xdiff: resolve signed unsigned comparison warning
ClosedPublic

Authored by quark on Mar 9 2018, 5:54 PM.

Details

Summary

Since the value won't be changed inside the code (because context lines
feature was removed by D2705), let's just remove the variable and inline
the 0 value.

The code might be potentially further simplified. But I'd like to make sure
correctness is easily verifiable in this patch.

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

quark created this revision.Mar 9 2018, 5:54 PM
indygreg accepted this revision.Mar 9 2018, 6:22 PM
This revision is now accepted and ready to land.Mar 9 2018, 6:22 PM
This revision was automatically updated to reflect the committed changes.