eth/net/nat.nim: delete unused var

This commit is contained in:
Ștefan Talpalaru 2019-05-03 17:24:17 +02:00
parent 05bf76c537
commit bb79902399
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 0 additions and 2 deletions

View File

@ -177,8 +177,6 @@ proc repeatPortMapping(args: PortMappingArgs) {.thread.} =
lastUpdate = currTime lastUpdate = currTime
sleep(sleepDuration) sleep(sleepDuration)
var mainThreadId = getThreadId()
proc stopNatThread() {.noconv.} = proc stopNatThread() {.noconv.} =
# stop the thread # stop the thread
natCloseChan.send(true) natCloseChan.send(true)