mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-12 03:14:15 +00:00
use discard for unused results
This commit is contained in:
parent
06b759e049
commit
759355b364
@ -159,7 +159,7 @@ proc threadMain(wfd: AsyncFD) {.thread.} =
|
||||
|
||||
while true:
|
||||
var line = stdin.readLine()
|
||||
let res = waitFor transp.write(line & "\r\n")
|
||||
discard waitFor transp.write(line & "\r\n")
|
||||
|
||||
proc serveThread(customData: CustomData) {.async.} =
|
||||
var transp = fromPipe(customData.consoleFd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user