Skip to content

Fix code smells#2705

Merged
abitmore merged 1 commit intodevelopfrom
litepresence-patch-1
Dec 6, 2022
Merged

Fix code smells#2705
abitmore merged 1 commit intodevelopfrom
litepresence-patch-1

Conversation

@abitmore
Copy link
Member

@abitmore abitmore commented Dec 5, 2022

Note: this is identical to #2703, recreated to get around a permission issue related to the sonar-scan Github Actions workflow.

rewind is reserved
prefix increment dropped_count, i, next_block_num for efficiency increment from method call fetch_by_number() could cause undefined behavior parenthesis added for explicit operator precedence order of operations clarified
max 1 nested break

`rewind` is reserved
prefix increment `dropped_count, i, next_block_num` for efficiency
increment from method call `fetch_by_number()`  could cause undefined behavior
parenthesis added for explicit operator precedence 
order of operations clarified
max 1 nested break
@abitmore abitmore added this to the 6.2.0 - Feature Release milestone Dec 5, 2022
This was referenced Dec 5, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

60.0% 60.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants