Fixed GCC warnings
This commit is contained in:
parent
e3fc78a66c
commit
3f3f9b0661
3 changed files with 11 additions and 9 deletions
|
@ -445,9 +445,9 @@ bool xmrig::Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
|||
if (Cvt::fromHex(signatureKeyBuf, sizeof(signatureKeyBuf), Json::getValue(params, "sig_key"))) {
|
||||
job.setEphemeralKeys(signatureKeyBuf, signatureKeyBuf + 32);
|
||||
|
||||
uint8_t major_version;
|
||||
uint8_t minor_version;
|
||||
uint64_t timestamp;
|
||||
uint8_t major_version = 0;
|
||||
uint8_t minor_version = 0;
|
||||
uint64_t timestamp = 0;
|
||||
|
||||
CBlobReader ar(job.blob(), job.size());
|
||||
ar(major_version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue