mirror of
https://codeberg.org/wownero/p2pool-wow.git
synced 2026-10-17 05:51:27 +02:00
Fixed Coverity issues
This commit is contained in:
+6
-2
@@ -91,9 +91,13 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
FORCEINLINE ~Worker()
|
||||
~Worker()
|
||||
{
|
||||
stop();
|
||||
try {
|
||||
stop();
|
||||
}
|
||||
catch (...) {
|
||||
}
|
||||
}
|
||||
|
||||
FORCEINLINE void stop()
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ static_assert(rev_alphabet.num_symbols == 58, "Check alphabet");
|
||||
|
||||
namespace p2pool {
|
||||
|
||||
Wallet::Wallet(const char* address)
|
||||
Wallet::Wallet(const char* address) : m_prefix(0), m_checksum(0), m_type(NetworkType::Invalid)
|
||||
{
|
||||
decode(address);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user