Fixed Coverity issues
This commit is contained in:
@@ -91,10 +91,14 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCEINLINE ~Worker()
|
~Worker()
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
catch (...) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
FORCEINLINE void stop()
|
FORCEINLINE void stop()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ static_assert(rev_alphabet.num_symbols == 58, "Check alphabet");
|
|||||||
|
|
||||||
namespace p2pool {
|
namespace p2pool {
|
||||||
|
|
||||||
Wallet::Wallet(const char* address)
|
Wallet::Wallet(const char* address) : m_prefix(0), m_checksum(0), m_type(NetworkType::Invalid)
|
||||||
{
|
{
|
||||||
decode(address);
|
decode(address);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user