fix: clean up compiler warnings and unused variables

This commit is contained in:
2026-05-15 18:01:11 +03:00
parent 92e6b99df2
commit c5751b4a0c
6 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ proc main() =
asyncCheck cm.startCompactionLoop()
# Create TCP server (initialization is synchronous, run is async)
let localId = if config.raftNodeId.len > 0: config.raftNodeId else: "node-" & $config.port
let localId {.used.} = if config.raftNodeId.len > 0: config.raftNodeId else: "node-" & $config.port
var tcpServer = newServer(config)
# Start Raft cluster if enabled