fix new NIO and new Swift compiler warnings (#179)

This commit is contained in:
Johannes Weiss authored and GitHub committed 2019-12-10 12:45:48 +00:00
1 parent 859f6b46aa
commit c1bfb7ce3f
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -309,8 +309,8 @@ struct HTTP2FrameDecoder {
switch (try self.processNextState()) {
case .needMoreData:
return nil
case .frame(let frame):
return frame
case .frame(let frame, let flowControlledLength):
return (frame, flowControlledLength)
case .continue:
// tail-call ourselves
return try nextFrame()