mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 00:07:47 +00:00
Fixed cppcheck errors
This commit is contained in:
parent
9368b96129
commit
6ef166ba33
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ static FORCEINLINE bool less32(const uint8_t* k0, const uint8_t* k1)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// cppcheck-suppress constParameter
|
// cppcheck-suppress constParameterReference
|
||||||
void generate_keys(hash& pub, hash& sec)
|
void generate_keys(hash& pub, hash& sec)
|
||||||
{
|
{
|
||||||
do {
|
do {
|
||||||
|
|
|
@ -24,7 +24,7 @@ void p2pool_usage();
|
||||||
|
|
||||||
namespace p2pool {
|
namespace p2pool {
|
||||||
|
|
||||||
Params::Params(int argc, char* argv[])
|
Params::Params(int argc, char* const argv[])
|
||||||
{
|
{
|
||||||
for (int i = 1; i < argc; ++i) {
|
for (int i = 1; i < argc; ++i) {
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace p2pool {
|
||||||
|
|
||||||
struct Params
|
struct Params
|
||||||
{
|
{
|
||||||
Params(int argc, char* argv[]);
|
Params(int argc, char* const argv[]);
|
||||||
|
|
||||||
bool valid() const;
|
bool valid() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue