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
@extrawurst
Copy link
Collaborator

Seems these changes were already made on master

@extrawurst extrawurst closed this Oct 25, 2025
@linkmauve linkmauve deleted the remove-dead-code branch October 25, 2025 16:02
@linkmauve
Copy link
Contributor Author

Thanks!

@linkmauve linkmauve mentioned this pull request Oct 25, 2025
4 tasks
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.

2 participants