mirror of
https://github.com/codex-storage/nim-libp2p.git
synced 2025-01-11 19:44:18 +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