Skip to content

force tidy CI#1733

Closed
ibc wants to merge 6 commits intov3from
force-tidy-ci
Closed

force tidy CI#1733
ibc wants to merge 6 commits intov3from
force-tidy-ci

Conversation

@ibc
Copy link
Member

@ibc ibc commented Feb 17, 2026

NOTE: Close this PR without merging.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

const uint32_t v = Utils::Byte::Get3Bytes(extenValue, 0);
minDelay = v >> 12u;
maxDelay = v & 0xFFFu;
uint16_t qweqwe = 1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: unused variable 'qweqwe' [clang-diagnostic-unused-variable]

			uint16_t qweqwe = 1;
            ^

const uint32_t v = Utils::Byte::Get3Bytes(extenValue, 0);
minDelay = v >> 12u;
maxDelay = v & 0xFFFu;
uint16_t qweqwe = 1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable 'qweqwe' of type 'uint16_t' (aka 'unsigned short') can be declared 'const' [misc-const-correctness]

Suggested change
uint16_t qweqwe = 1;
uint16_t const qweqwe = 1;

minDelay = v >> 12u;
maxDelay = v & 0xFFFu;
uint16_t qweqwe = 1;
uint32_t v = Utils::Byte::Get3Bytes(extenValue, 0);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable 'v' of type 'uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness]

Suggested change
uint32_t v = Utils::Byte::Get3Bytes(extenValue, 0);
uint32_t const v = Utils::Byte::Get3Bytes(extenValue, 0);

@ibc ibc closed this Feb 17, 2026
@ibc ibc deleted the force-tidy-ci branch February 17, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments