CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), SER_DISK, CLIENT_VERSION);
ssValue >> value;
}
- catch (std::exception &e) {
- (void)e;
+ catch (const std::exception&) {
return false;
}
strLoadError = _("Error loading block database");
break;
}
- } catch(std::exception &e) {
- (void)e;
+ } catch(const std::exception&) {
strLoadError = _("Error opening block database");
break;
}
try {
filein >> *this;
}
- catch (std::exception &e) {
- (void)e;
+ catch (const std::exception&) {
return error("%s() : deserialize or I/O error", BOOST_CURRENT_FUNCTION);
}
try {
filein >> *this;
}
- catch (std::exception &e) {
- (void)e;
+ catch (const std::exception&) {
return error("%s() : deserialize or I/O error", BOOST_CURRENT_FUNCTION);
}
{
ss >> tx;
}
- catch(std::exception &e)
+ catch(const std::exception&)
{
- (void)e;
return;
}
{
ss >> tx;
}
- catch(std::exception &e)
+ catch(const std::exception&)
{
- (void)e;
return;
}
CTransaction mergedTx(tx);
{
ssData >> tx;
}
- catch(std::exception &e)
+ catch(const std::exception&)
{
- (void)e;
return;
}
uint256 txHash = tx.GetHash();
SER_DISK, CLIENT_VERSION);
ssValue >> value;
}
- catch (std::exception &e) {
- (void)e;
+ catch (const std::exception&) {
return false;
}
return true;
}
pcursor->close();
}
- catch (boost::thread_interrupted) {
+ catch (const boost::thread_interrupted&) {
throw;
}
catch (...) {