René's URL Explorer Experiment


Title: Fix #15216 Overlapping warnings uninitvar, uninitStructMember by chrchr-github · Pull Request #9035 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #15216 Overlapping warnings uninitvar, uninitStructMember by chrchr-github · Pull Request #9035 · cppcheck-opensource/cppcheck

X Title: Fix #15216 Overlapping warnings uninitvar, uninitStructMember by chrchr-github · Pull Request #9035 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/9035

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d22b2456-4bd4-3787-5de5-f8817516669d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF78:F67AC:21BB33:2F17FE:6AFC4AAA
html-safe-nonceed038325702ff9e7375601ab67ab2cafd0591074bbf0d6f1abc55336fd65a5f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjc4OkY2N0FDOjIxQkIzMzoyRjE3RkU6NkFGQzRBQUEiLCJ2aXNpdG9yX2lkIjoiMjkwMzA2MjMxOTUwNjE0ODAxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3e19c001cf53235f0fc72341422ca8ffd3d04e09c00d0ff825426fb62c699b3a
hovercard-subject-tagpull_request:5334241094
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/9035/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b1d867f2104b0c4f3f98287a8dcea417a7b2aa6fc551eb3e3f132d9e98c7be63/cppcheck-opensource/cppcheck/pull/9035
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1d867f2104b0c4f3f98287a8dcea417a7b2aa6fc551eb3e3f132d9e98c7be63/cppcheck-opensource/cppcheck/pull/9035
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechrchr-github
hostnamegithub.com
expected-hostnamegithub.com
None20dfdada12bc00bbf8065dc10dfe3ff3711b85db5cc117f83296f8074e861960
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release041909865f220ab51714e7efdc276dd349a99ade
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/9035#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9035
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9035
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9035
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9035
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9035
cppcheck-opensourcehttps://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Codehttps://github.com/cppcheck-opensource/cppcheck
Pull requests222 (222)https://github.com/cppcheck-opensource/cppcheck/pulls
Actionshttps://github.com/cppcheck-opensource/cppcheck/actions
Security and qualityhttps://github.com/cppcheck-opensource/cppcheck/security
Insightshttps://github.com/cppcheck-opensource/cppcheck/pulse
https://github.com/cppcheck-opensource/cppcheck
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_15216https://github.com/chrchr-github/cppcheck/tree/chr_15216
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/9035
Commits8 (8)https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/9035/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/9035/files
Fix #15216 Overlapping warnings uninitvar, uninitStructMemberhttps://github.com/cppcheck-opensource/cppcheck/pull/9035#top
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_15216https://github.com/chrchr-github/cppcheck/tree/chr_15216
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Nov 16, 2026https://github.com/cppcheck-opensource/cppcheck/pull/9035#issue-6417978911
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
chrchr-githubhttps://github.com/chrchr-github
November 16, 2026 10:08https://github.com/cppcheck-opensource/cppcheck/pull/9035#commits-pushed-4968380
https://github.com/chrchr-github
Update checkuninitvar.hhttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/4968380a6b8e511bb8732a1c034335bf82206517
4968380https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/4968380a6b8e511bb8732a1c034335bf82206517
https://github.com/chrchr-github
Update checkuninitvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/18a16103bf7e5faed5de7fef31ca00f3b784f293
18a1610https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/18a16103bf7e5faed5de7fef31ca00f3b784f293
https://github.com/chrchr-github
Update testuninitvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/bfed3a5df44cca8b7cb37961fb4e613e0cf827ab
bfed3a5https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/bfed3a5df44cca8b7cb37961fb4e613e0cf827ab
https://github.com/chrchr-github
Update testuninitvar.cpp [skip ci]https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/148b32d9948c02042dfa818adee52b786b99b05e
148b32dhttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/148b32d9948c02042dfa818adee52b786b99b05e
https://github.com/chrchr-github
Update checkuninitvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/c58340f44303689d4c906180aada458c552e0870
c58340fhttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/c58340f44303689d4c906180aada458c552e0870
https://github.com/chrchr-github
Update checkuninitvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/a0ec186789b1bcfe40e6e5640c6180e6b9f20fba
a0ec186https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/a0ec186789b1bcfe40e6e5640c6180e6b9f20fba
https://github.com/chrchr-github
Update gtk.chttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/53d5e21f4361103d6ce542b78df43959d7df67ae
53d5e21https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/53d5e21f4361103d6ce542b78df43959d7df67ae
https://github.com/dmcppcheck
dmcppcheckhttps://github.com/dmcppcheck
Nov 16, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/9035#pullrequestreview-5918525417
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/9035/files/53d5e21f4361103d6ce542b78df43959d7df67ae
dmcppcheckhttps://github.com/dmcppcheck
https://github.com/cppcheck-opensource/cppcheck/pull/9035#pullrequestreview-5918525417
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
53d5e21https://github.com/cppcheck-opensource/cppcheck/commit/53d5e21f4361103d6ce542b78df43959d7df67ae
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
lib/checkuninitvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9035/files/53d5e21f4361103d6ce542b78df43959d7df67ae#diff-5290197d1924befdd77e28a6a0ad63926ab15a5112f360c16a9fa004b52cf787
dmcppcheckhttps://github.com/dmcppcheck
Nov 16, 2026https://github.com/cppcheck-opensource/cppcheck/pull/9035#discussion_r4584603603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
chrchr-githubhttps://github.com/chrchr-github
Nov 16, 2026https://github.com/cppcheck-opensource/cppcheck/pull/9035#discussion_r4589919099
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
https://github.com/chrchr-github
Update checkuninitvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/65abef8608a2829217b03a85b1ca5afc5fe0921a
65abef8https://github.com/cppcheck-opensource/cppcheck/pull/9035/commits/65abef8608a2829217b03a85b1ca5afc5fe0921a
https://github.com/dmcppcheck
dmcppcheckhttps://github.com/dmcppcheck
Nov 16, 2026https://github.com/cppcheck-opensource/cppcheck/pull/9035#issuecomment-6921995321
65abef8https://github.com/cppcheck-opensource/cppcheck/commit/65abef8608a2829217b03a85b1ca5afc5fe0921a
http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9035/http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9035/
http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9035/2026-11-16_11-38-45-65abef8608a2-review.txthttp://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9035/2026-11-16_11-38-45-65abef8608a2-review.txt
http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9035/2026-11-16_11-38-45-65abef8608a2_timing.htmlhttp://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-9035/2026-11-16_11-38-45-65abef8608a2_timing.html
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
https://github.com/dmcppcheck
dmcppcheckhttps://github.com/dmcppcheck
Nov 16, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/9035#pullrequestreview-5925311413
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/9035/files/65abef8608a2829217b03a85b1ca5afc5fe0921a
dmcppcheckhttps://github.com/dmcppcheck
https://github.com/cppcheck-opensource/cppcheck/pull/9035#pullrequestreview-5925311413
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
uninitStructMember disappears from --errorlist because diag(nullptr) returns truehttps://github.com/cppcheck-opensource/cppcheck/pull/9035#pullrequestreview-5918525417
The downgrade from error to warning for possible values is not covered by a testhttps://github.com/cppcheck-opensource/cppcheck/pull/9035#pullrequestreview-5918525417
Guard the diag() call with tok && so that the error list keeps uninitStructMemberhttps://github.com/cppcheck-opensource/cppcheck/pull/9035#discussion_r4584603603
@chrchr-githubhttps://github.com/chrchr-github
#2https://github.com/cppcheck-opensource/cppcheck/pull/2
65abef8https://github.com/cppcheck-opensource/cppcheck/commit/65abef8608a2829217b03a85b1ca5afc5fe0921a
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9035
https://github.com/dmcppcheck
dmcppcheck https://github.com/dmcppcheck
https://github.com/cppcheck-opensource/cppcheck/pull/9035/files/65abef8608a2829217b03a85b1ca5afc5fe0921a
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9035
https://github.com/chrchr-github
https://github.com/dmcppcheck
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.