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

remove unused pattern match in tcp writes #310

Merged
merged 2 commits into from
Apr 25, 2017

Conversation

yomimono
Copy link
Contributor

No_route is now the only error variant, so these cases were not used:

File "lib/tcp/pcb.ml", line 606, characters 12-19:
Warning 11: this match case is unused.
File "lib/tcp/pcb.ml", line 644, characters 6-13:
Warning 11: this match case is unused.

Remove them.

`No_route` is now the only error variant, so these cases were not used:

```
File "lib/tcp/pcb.ml", line 606, characters 12-19:
Warning 11: this match case is unused.
File "lib/tcp/pcb.ml", line 644, characters 6-13:
Warning 11: this match case is unused.
```

Remove them.
@yomimono yomimono merged commit a4f60ae into mirage:master Apr 25, 2017
@yomimono yomimono deleted the remove-catchall-errors-in-tcp branch April 25, 2017 14:42
samoht pushed a commit to samoht/mirage-tcpip that referenced this pull request May 30, 2017
…-tcp

remove unused pattern match in tcp writes
hannesm added a commit to hannesm/mirage-tcpip that referenced this pull request Feb 7, 2020
hannesm added a commit that referenced this pull request Feb 7, 2020
tcp: ignore result of xmit, continues #310, see #392
djs55 pushed a commit to djs55/mirage-tcpip that referenced this pull request Apr 17, 2021
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