mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 08:52:42 +08:00
Assign dummy variable to signal() return for Android
This commit is contained in:
parent
a0189d045c
commit
b890893b97
@ -88,7 +88,8 @@ private func runServer() throws {
|
||||
|
||||
quiesce.initiateShutdown(promise: fullyShutdownPromise)
|
||||
}
|
||||
signal(SIGINT, SIG_IGN)
|
||||
// assignment needed for Android due to non-nullable return type
|
||||
_ = signal(SIGINT, SIG_IGN)
|
||||
signalSource.resume()
|
||||
|
||||
do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user