Skip to content

Conversation

linkmauve
Copy link
Contributor

@linkmauve linkmauve commented Oct 17, 2025

Only nightly CI found it, locally the lint didn’t fail, but that code is definitely dead code so let’s remove it. Modifying a POD struct like Rect and then doing nothing with it makes no sense.

This fixes CI for all newer PRs (such as the updated #2727).

This Pull Request fixes/closes no reported issue.

It changes the following:

  • Removes dead code.

I followed the checklist:

  • I added unittests (not relevant)
  • I ran make check without errors (onig_sys v69.8.1 doesn’t build on my system, it fails due to some C signature incompatibilities, which shouldn’t be relevant for this fix)
  • I tested the overall application
  • I added an appropriate item to the changelog (not relevant)

Only nightly CI found it[1], locally the lint didn’t fail, but that code
is definitely dead code so let’s remove it.  Modifying a POD struct like
Rect and then doing nothing with it makes no sense.

[1] https://github.com/gitui-org/gitui/actions/runs/18585963642/job/52989807824?pr=2727#step:8:694
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant