summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-03-04 22:46:28 +0000
committerChristian Pointner <equinox@anytun.org>2009-03-04 22:46:28 +0000
commitc0f45e79d0a238a05bb761c04283336230c76531 (patch)
treeeaaf555e52e7a7543ff23771fc074e7c1e505fbb /src/anytun.cpp
parentcleanup (diff)
cleanup (less warnings on MSVC)
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index e321b17..eaa83ff 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -186,7 +186,7 @@ void sender(void* p)
mux = gRoutingTable.getRoute(plain_packet.getDstAddr());
//std::cout << " -> "<<mux << std::endl;
cit = gConnectionList.getConnection(mux);
- } catch (std::exception& e) { continue; } // no route
+ } catch (std::exception&) { continue; } // no route
else
cit = gConnectionList.getBegin();
#else
@@ -213,7 +213,7 @@ void sender(void* p)
try {
param->src.send(encrypted_packet.getBuf(), encrypted_packet.getLength(), conn.remote_end_);
- } catch (std::exception&) {
+ } catch (std::exception& /*e*/) {
//TODO: do something here
//cLog.msg(Log::PRIO_ERROR) << "could not send data: " << e.what();
}
@@ -250,7 +250,7 @@ void receiver(void* p)
int len;
try {
len = param->src.recv(encrypted_packet.getBuf(), encrypted_packet.getLength(), remote_end);
- } catch (std::exception& e) {
+ } catch (std::exception& /*e*/) {
//TODO: do something here
//cLog.msg(Log::PRIO_ERROR) << "could not recive packet "<< e.what();
continue;