René's URL Explorer Experiment


Title: Fix #14471: Improve check: shadowVariable for function argument by ludviggunne · Pull Request #8303 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #14471: Improve check: shadowVariable for function argument by ludviggunne · Pull Request #8303 · cppcheck-opensource/cppcheck

X Title: Fix #14471: Improve check: shadowVariable for function argument by ludviggunne · Pull Request #8303 · 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/8303

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:e099af75-6611-46e3-c671-fec98c411f2f
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idBDBA:16195D:B9AEC7:F94399:6A4ED356
html-safe-noncee622e02a3be7c7b419849f82525ef99192dfb3c9c0921073d3b95b95dee2b6ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREJBOjE2MTk1RDpCOUFFQzc6Rjk0Mzk5OjZBNEVEMzU2IiwidmlzaXRvcl9pZCI6IjUyODU3MjIwOTg2OTc2ODc4OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac80c947f0930d69ca0abd62de26c6349ce548fbb9a1515d3ef9e2a788444c9554
hovercard-subject-tagpull_request:3363557873
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
twitter:imagehttps://opengraph.githubassets.com/f335392bc44404b7bdb27b9da8c89ef0e158f4c67bc979f37b57355bf8885896/cppcheck-opensource/cppcheck/pull/8303
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f335392bc44404b7bdb27b9da8c89ef0e158f4c67bc979f37b57355bf8885896/cppcheck-opensource/cppcheck/pull/8303
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameludviggunne
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8303%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8303%2Fchecks
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
ludviggunnehttps://github.com/ludviggunne
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
ludviggunne:14471https://github.com/ludviggunne/cppcheck/tree/14471
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/8303
Commits9 (9)https://github.com/cppcheck-opensource/cppcheck/pull/8303/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/8303/files
Fix #14471: Improve check: shadowVariable for function argumenthttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks#top
ludviggunnehttps://github.com/ludviggunne
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
ludviggunne:14471https://github.com/ludviggunne/cppcheck/tree/14471
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8303/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8303%2Fchecks
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640117
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640117/job/73175083553?pr=8303
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640117/job/73175083524?pr=8303
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125
build_cmake (ubuntu:24.04, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125/job/73175083297?pr=8303
build_cmake (ubuntu:25.10, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125/job/73175083305?pr=8303
build_cmake (alpine:3.23, false, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125/job/73175083303?pr=8303
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125/job/73175083363?pr=8303
build_make (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125/job/73175083319?pr=8303
build_make (alpine:3.23) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640125/job/73175083308?pr=8303
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640116
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640116/job/73175083226?pr=8303
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640120
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640120/job/73175083376?pr=8303
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640124
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640124/job/73175083343?pr=8303
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640124/job/73175083366?pr=8303
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083381?pr=8303
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083438?pr=8303
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083387?pr=8303
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083402?pr=8303
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083415?pr=8303
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083419?pr=8303
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083536?pr=8303
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083416?pr=8303
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083443?pr=8303
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083367?pr=8303
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083384?pr=8303
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083383?pr=8303
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083345?pr=8303
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083364?pr=8303
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083369?pr=8303
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083396?pr=8303
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083407?pr=8303
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083474?pr=8303
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73175083503?pr=8303
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640118/job/73182054448?pr=8303
sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640121
build (asan, -DANALYZE_ADDRESS=On, true, process, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640121/job/73175083431?pr=8303
build (tsan, -DANALYZE_THREAD=On, false, thread, false, --executor=thread --error-exitcode=0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640121/job/73175083401?pr=8303
build (ubsan, -DANALYZE_UNDEFINED=On, true, process, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640121/job/73175083417?pr=8303
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083208?pr=8303
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083278?pr=8303
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083350?pr=8303
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083315?pr=8303
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083357?pr=8303
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083312?pr=8303
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083301?pr=8303
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083310?pr=8303
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083255?pr=8303
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083265?pr=8303
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083282?pr=8303
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083238?pr=8303
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640131/job/73175083274?pr=8303
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73175083405?pr=8303
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73175083414?pr=8303
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73175083446?pr=8303
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73175083420?pr=8303
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510536?pr=8303
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510531?pr=8303
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510540?pr=8303
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510550?pr=8303
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510539?pr=8303
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510533?pr=8303
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510548?pr=8303
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640130/job/73177510542?pr=8303
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640137
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640137/job/73175083298?pr=8303
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640138
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640138/job/73175083206?pr=8303
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640148
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640148/job/73175083290?pr=8303
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640151
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640151/job/73175083317?pr=8303
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640154
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640154/job/73175083276?pr=8303
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640194
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640194/job/73175083368?pr=8303
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640216
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640216/job/73175083306?pr=8303
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640249
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/24990640249/job/73175083525?pr=8303
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/8303/checks?check_run_id=73176088411
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/8303/checks?check_run_id=73175924936
Complete job https://github.com/cppcheck-opensource/cppcheck/pull/8303/checks#annotation:11:2
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Initialize CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/8303/checks#annotation:3:859
Initialize CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/8303/checks#annotation:3:12
https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
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.