Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udp: avoid warnings about unused import on non-Linux platforms #1931

Closed
wants to merge 1 commit into from

Conversation

djc
Copy link
Member

@djc djc commented Jul 22, 2024

This is a little ugly, but I don't like to see spurious warnings when developing on macOS.

Alternatively, I suppose we could suppress unused_imports here?

@djc djc requested a review from Ralith July 22, 2024 09:14
@Ralith
Copy link
Collaborator

Ralith commented Jul 22, 2024

I think a more complete and maintainable solution to this and a number of other hazards would be to introduce our own trivial internal logging facade as described in #1932 (review).

@Ralith
Copy link
Collaborator

Ralith commented Aug 1, 2024

Closing in favor of #1935.

@Ralith Ralith closed this Aug 1, 2024
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.

3 participants