mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-09 20:30:05 +00:00
Fixed Coverity issues
This commit is contained in:
parent
9593311332
commit
a73b4616a4
2 changed files with 7 additions and 3 deletions
|
@ -91,9 +91,13 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCEINLINE ~Worker()
|
~Worker()
|
||||||
{
|
{
|
||||||
stop();
|
try {
|
||||||
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue