mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
CI: Fix warnings
This commit is contained in:
committed by
Kyle Johannes
parent
0497b361ef
commit
bddbcfcf6d
@@ -2980,7 +2980,6 @@ bool Device::parseVSA(
|
||||
std::vector<uint8_t> buffer;
|
||||
bool success = true;
|
||||
bool moreToRead = true;
|
||||
uint64_t numBytesRead = 0; // The number of bytes that have been read from the vsa buffer for this parse call
|
||||
VSAParser::Settings parserSettings = VSAParser::Settings::messageRecords();
|
||||
VSAParser parser(report, parserSettings);
|
||||
parser.setMessageFilter(filter);
|
||||
@@ -3017,7 +3016,6 @@ bool Device::parseVSA(
|
||||
++readAttempt;
|
||||
}
|
||||
|
||||
numBytesRead += amount;
|
||||
success = parser.parseBytes(buffer.data(), amount);
|
||||
if(!success) {
|
||||
report(APIEvent::Type::VSAByteParseFailure, APIEvent::Severity::Error);
|
||||
|
||||
@@ -545,7 +545,7 @@ bool IDeviceSettings::setBaudrateFor(Network net, int64_t baudrate) {
|
||||
report(APIEvent::Type::BaudrateNotFound, APIEvent::Severity::Error);
|
||||
return false;
|
||||
}
|
||||
cfg->Baudrate = baudrate;
|
||||
cfg->Baudrate = (uint32_t)baudrate;
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user