Skip to content

Fix #13685 FP uinitvar with nested compound statement scopes#8300

Open
mptre wants to merge 1 commit intodanmar:mainfrom
mptre:uninitvar
Open

Fix #13685 FP uinitvar with nested compound statement scopes#8300
mptre wants to merge 1 commit intodanmar:mainfrom
mptre:uninitvar

Conversation

@mptre
Copy link
Contributor

@mptre mptre commented Mar 6, 2026

PR #6714 introduced a regression in which variables initialized in nested compound statements are incorrectly flagged as uninitialized by uninitvar. Such scopes could be present due to usage of GNU compound statements.

@chrchr-github
Copy link
Collaborator

This should probably be tested in testsymboldatabase.cpp as well.

PR danmar#6714 introduced a regression in which variables initialized in nested
compound statements are incorrectly flagged as uninitialized by uninitvar.
Such scopes could be present due to usage of GNU compound statements.
@mptre
Copy link
Contributor Author

mptre commented Mar 6, 2026 via email

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

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