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

@ -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));

View file

@ -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