Skip to content

Remove dead code#96521

Closed
matthiasgoergens wants to merge 1 commit into
python:mainfrom
matthiasgoergens:matthias/remove-dead-code
Closed

Remove dead code#96521
matthiasgoergens wants to merge 1 commit into
python:mainfrom
matthiasgoergens:matthias/remove-dead-code

Conversation

@matthiasgoergens
Copy link
Copy Markdown
Contributor

This code has been disabled since at least 2002, ie as far as our git
history goes. I guess it's fair to say that when no one has neither used nor
even tested this code in 20 years, it's safer to remove it.

Also, right now this code contributes to warning spam in clang.

This code has been disabled since at least 2002, ie as far as our git
history goes.  I guess it's fair to say that when no one has neither used nor
even tested this code in 20 years, it's safer to remove it.

Also, right now this code contributes to warning spam in clang.
@mdickinson
Copy link
Copy Markdown
Member

This is vendorised code. As such, I think it would be better to leave it as is to avoid unnecessary divergence from the upstream code.

If you feel strongly enough about this, maybe see if you can convince the libexpat developers to accept a PR that removes the dead code?

@matthiasgoergens
Copy link
Copy Markdown
Contributor Author

Thanks, I didn't know that it was directly taken from upstream.

I was just fixing compiler warnings. I might see if libexpaz wants the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants