Remove a few annoying unreferenced variables
This commit is contained in:
parent
a0a33a9e95
commit
6898484321
2 changed files with 3 additions and 3 deletions
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue