mirror of https://github.com/vacp2p/nim-libp2p.git
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…
Reference in New Issue