From c0f45e79d0a238a05bb761c04283336230c76531 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 4 Mar 2009 22:46:28 +0000 Subject: cleanup (less warnings on MSVC) --- src/anytun.cpp | 6 +++--- src/anytun.suo | Bin 66048 -> 66048 bytes src/anytun.vcproj | 4 ++-- src/win32/tunDevice.cpp | 2 +- 4 files changed, 6 insertions(+), 6 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 << " -> "<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; diff --git a/src/anytun.suo b/src/anytun.suo index 97051e3..8bdd35e 100644 Binary files a/src/anytun.suo and b/src/anytun.suo differ diff --git a/src/anytun.vcproj b/src/anytun.vcproj index df660cd..4bd6d85 100644 --- a/src/anytun.vcproj +++ b/src/anytun.vcproj @@ -189,7 +189,7 @@ Name="VCCLCompilerTool" AdditionalOptions="/I "C:\Program Files\boost\boost_1_35_0\"" Optimization="0" - PreprocessorDefinitions="LOG_FILE;LOG_STDOUT;LOG_WINEVENTLOG;WIN_SERVICE;USE_SSL_CRYPTO;NO_DAEMON;NO_EXEC;NO_SIGNALCONTROLLER;WIN32_LEAN_AND_MEAN" + PreprocessorDefinitions="LOG_FILE;LOG_STDOUT;LOG_WINEVENTLOG;WIN_SERVICE;USE_SSL_CRYPTO;NO_DAEMON;NO_EXEC;NO_SIGNALCONTROLLER;WIN32_LEAN_AND_MEAN;BOOST_ALL_DYN_LINK" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -264,7 +264,7 @@ />