Remove a few annoying unreferenced variables

This commit is contained in:
Eric Frias 2014-06-16 12:03:20 -04:00
parent a0a33a9e95
commit 6898484321
2 changed files with 3 additions and 3 deletions

View file

@ -232,7 +232,7 @@ namespace fc {
void rename( const path& f, const path& t ) { void rename( const path& f, const path& t ) {
try { try {
boost::filesystem::rename( boost::filesystem::path(f), boost::filesystem::path(t) ); boost::filesystem::rename( boost::filesystem::path(f), boost::filesystem::path(t) );
} catch ( boost::system::system_error& e ) { } catch ( boost::system::system_error& ) {
try{ try{
boost::filesystem::copy( boost::filesystem::path(f), boost::filesystem::path(t) ); boost::filesystem::copy( boost::filesystem::path(f), boost::filesystem::path(t) );
boost::filesystem::remove( boost::filesystem::path(f)); boost::filesystem::remove( boost::filesystem::path(f));

View file

@ -110,7 +110,7 @@ namespace fc
my->_request_loop.wait(); my->_request_loop.wait();
my->_read_loop.wait(); my->_read_loop.wait();
} }
catch ( const fc::exception& e ) catch ( const fc::exception& )
{ {
// we exepect canceled exceptions, but cannot throw // we exepect canceled exceptions, but cannot throw
// from destructor // from destructor