aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorGiel van Schijndel <me@mortis.eu>2011-06-24 22:00:59 +0200
committerGiel van Schijndel <me@mortis.eu>2011-07-13 05:10:15 +0200
commit858cebed7dee2e9801e754a9969844b7969254ee (patch)
treead12ee913c13750c880a6bd04508cc25be8f8545 /src/net.cpp
parent225f222c9fba7a831e2e5f80ccbba34ed2bca532 (diff)
fix warning: unused variable 'X' [-Wunused-variable]
Remove several unused variables. Signed-off-by: Giel van Schijndel <me@mortis.eu>
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index da13874495..ac5a2834b0 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1700,7 +1700,7 @@ void StartNode(void* parg)
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
// Send and receive from sockets, accept connections
- pthread_t hThreadSocketHandler = CreateThread(ThreadSocketHandler, NULL, true);
+ CreateThread(ThreadSocketHandler, NULL, true);
// Initiate outbound connections
if (!CreateThread(ThreadOpenConnections, NULL))