Assign dummy variable to signal() return for Android

This commit is contained in:
Marc Prud'hommeaux 2025-04-08 08:07:33 -04:00
parent a0189d045c
commit b890893b97
No known key found for this signature in database
GPG Key ID: BB63E6535C930728

View File

@ -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 {