This is an archive of the discontinued Mercurial Phabricator instance.

filemerge: remove unnecessary check for empty string
ClosedPublic

Authored by martinvonz on Jan 21 2022, 6:31 PM.

Details

Summary

Looking at the statement just before, the string is clearly never
empty (or otherwise falsy).

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

martinvonz created this revision.Jan 21 2022, 6:31 PM
Alphare accepted this revision.Jan 24 2022, 4:34 AM
This revision is now accepted and ready to land.Jan 24 2022, 4:34 AM
This revision was automatically updated to reflect the committed changes.