mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-26 04:57:50 +00:00
fix new NIO and new Swift compiler warnings (#179)
This commit is contained in:
1 parent
859f6b46aa
commit
c1bfb7ce3f
4 files changed
+6
-6
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user