fix(compilation warnings) (#10649)

This commit is contained in:
Niklas Adolfsson
2019-05-13 15:10:25 +02:00
committed by GitHub
parent 42268fd1ef
commit 87699f8de0
7 changed files with 11 additions and 12 deletions

View File

@@ -616,7 +616,7 @@ impl Host {
let socket = {
let address = {
let mut nodes = self.nodes.read();
let nodes = self.nodes.read();
if let Some(node) = nodes.get(id) {
node.endpoint.address
} else {