mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)
This commit is contained in:
@@ -206,7 +206,7 @@ Serializer::addVL(void const* ptr, int len)
|
||||
int
|
||||
Serializer::addEncoded(int length)
|
||||
{
|
||||
std::array<std::uint8_t, 4> bytes;
|
||||
std::array<std::uint8_t, 4> bytes{};
|
||||
int numBytes = 0;
|
||||
|
||||
if (length <= 192)
|
||||
@@ -466,7 +466,7 @@ int
|
||||
SerialIter::getVLDataLength()
|
||||
{
|
||||
int b1 = get8();
|
||||
int datLen;
|
||||
int datLen = 0;
|
||||
int lenLen = Serializer::decodeLengthLength(b1);
|
||||
if (lenLen == 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user