dnc: cleanup

Change-Id: Ia525d076480015580c73e181ce214f8c387b4ffd
diff --git a/tools/dnc/dnc.cpp b/tools/dnc/dnc.cpp
index dddc7b1..9430cfc 100644
--- a/tools/dnc/dnc.cpp
+++ b/tools/dnc/dnc.cpp
@@ -75,7 +75,7 @@
 
     auto config = connectionManagerConfig(identity, bootstrap_ip_add, bootstrap_port, logger, certStore, ioContext, iceFactory);
     // create a connection manager
-    connectionManager = std::make_unique<ConnectionManager>(move(config));
+    connectionManager = std::make_unique<ConnectionManager>(std::move(config));
 
     connectionManager->onDhtConnected(identity.first->getPublicKey());
     connectionManager->onICERequest([this](const dht::Hash<32>&) { // handle ICE request
diff --git a/tools/dnc/dnc.h b/tools/dnc/dnc.h
index 0c8c7c1..c3333df 100644
--- a/tools/dnc/dnc.h
+++ b/tools/dnc/dnc.h
@@ -53,8 +53,6 @@
     std::shared_ptr<asio::io_context> ioContext;
     std::thread ioContextRunner;
 
-    std::shared_ptr<asio::posix::stream_descriptor> stdinDescriptor;
-
     std::pair<std::string, std::string> parseName(const std::string_view name);
 };
 
diff --git a/tools/dnc/main.cpp b/tools/dnc/main.cpp
index e0eeeeb..5d550b0 100644
--- a/tools/dnc/main.cpp
+++ b/tools/dnc/main.cpp
@@ -16,6 +16,7 @@
  */
 #include "dnc.h"
 #include "common.h"
+
 #include <string>
 #include <vector>
 #include <iostream>