From 689848432106a52c9c1656611727745ba8a5ac0d Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Mon, 16 Jun 2014 12:03:20 -0400 Subject: [PATCH] Remove a few annoying unreferenced variables --- src/filesystem.cpp | 4 ++-- src/network/ntp.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/filesystem.cpp b/src/filesystem.cpp index 77f56e8..1c746ae 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -189,7 +189,7 @@ namespace fc { return *r._p != *l._p; } - + bool exists( const path& p ) { return boost::filesystem::exists(p); } void create_directories( const path& p ) { try { @@ -232,7 +232,7 @@ namespace fc { void rename( const path& f, const path& t ) { try { boost::filesystem::rename( boost::filesystem::path(f), boost::filesystem::path(t) ); - } catch ( boost::system::system_error& e ) { + } catch ( boost::system::system_error& ) { try{ boost::filesystem::copy( boost::filesystem::path(f), boost::filesystem::path(t) ); boost::filesystem::remove( boost::filesystem::path(f)); diff --git a/src/network/ntp.cpp b/src/network/ntp.cpp index 38d000a..2fec26b 100644 --- a/src/network/ntp.cpp +++ b/src/network/ntp.cpp @@ -110,7 +110,7 @@ namespace fc my->_request_loop.wait(); my->_read_loop.wait(); } - catch ( const fc::exception& e ) + catch ( const fc::exception& ) { // we exepect canceled exceptions, but cannot throw // from destructor