René's URL Explorer Experiment


Title: Fix #5459 (Detect endless for loops) by willgarvin · Pull Request #9038 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #5459 (Detect endless for loops) by willgarvin · Pull Request #9038 · cppcheck-opensource/cppcheck

X Title: Fix #5459 (Detect endless for loops) by willgarvin · Pull Request #9038 · cppcheck-opensource/cppcheck

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

Open Graph Description: New warning missingForLoopIncrement to identify for loops whose control variable is never updated (ticket #5459 on Trac) Added brief documentation in man/checkers/missingForLoopIncrement.md

X Description: New warning missingForLoopIncrement to identify for loops whose control variable is never updated (ticket #5459 on Trac) Added brief documentation in man/checkers/missingForLoopIncrement.md

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

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/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:0975442c-2df7-ceec-5c4c-5fc67c1a5ac9
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idC042:241A15:2EAB5A:40A862:6AFC4E4F
html-safe-nonce91e44dfd13abb7026fe25f451f85a4f2cdb8fe365536bf566a0eb97bd16c1ad3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDQyOjI0MUExNToyRUFCNUE6NDBBODYyOjZBRkM0RTRGIiwidmlzaXRvcl9pZCI6IjEwNjIwMzMxNjA4MzA0NzE3NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac06f23d6cd27adac7990da7e4f59adef07f66036fd910d3025cfc46e0e6411fa6
hovercard-subject-tagpull_request:5351274104
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/9038/checks
twitter:imagehttps://opengraph.githubassets.com/3293a5fb2d525ae7a870cb47e7270f635feee761ea1e8ede79ca90cbbf1d4cb7/cppcheck-opensource/cppcheck/pull/9038
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3293a5fb2d525ae7a870cb47e7270f635feee761ea1e8ede79ca90cbbf1d4cb7/cppcheck-opensource/cppcheck/pull/9038
og:image:altNew warning missingForLoopIncrement to identify for loops whose control variable is never updated (ticket #5459 on Trac) Added brief documentation in man/checkers/missingForLoopIncrement.md
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewillgarvin
hostnamegithub.com
expected-hostnamegithub.com
Noneb63557e0027d8014589e873df28328da74a4356701bb1a9eab49dbf012ba8fa6
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
release0243355b0352c83733a042e0dfb3d75149b51261
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/9038/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9038%2Fchecks
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%2F9038%2Fchecks
Sign uphttps://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/9038/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9038/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/9038/checks
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
willgarvinhttps://github.com/willgarvin
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
willgarvin:Fix-#5459-(Detect-Endless-For-Loops)https://github.com/willgarvin/cppcheck/tree/Fix-%235459-(Detect-Endless-For-Loops)
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/9038
Commits6 (6)https://github.com/cppcheck-opensource/cppcheck/pull/9038/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/9038/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/9038/files
Fix #5459 (Detect endless for loops)https://github.com/cppcheck-opensource/cppcheck/pull/9038/checks#top
willgarvinhttps://github.com/willgarvin
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
willgarvin:Fix-#5459-(Detect-Endless-For-Loops)https://github.com/willgarvin/cppcheck/tree/Fix-%235459-(Detect-Endless-For-Loops)
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/9038/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F9038%2Fchecks
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461374
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461374/job/133870538566?pr=9038
sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461376
build (asan, -DANALYZE_ADDRESS=On, true, process, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461376/job/133870543712?pr=9038
build (tsan, -DANALYZE_THREAD=On, false, thread, false, --executor=thread --error-exitcode=0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461376/job/133870543344?pr=9038
build (ubsan, -DANALYZE_UNDEFINED=On, true, process, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461376/job/133870543748?pr=9038
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546358?pr=9038
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546527?pr=9038
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546447?pr=9038
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546408?pr=9038
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546394?pr=9038
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546391?pr=9038
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546411?pr=9038
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546593?pr=9038
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546463?pr=9038
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546419?pr=9038
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546501?pr=9038
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546085?pr=9038
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546518?pr=9038
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546429?pr=9038
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546370?pr=9038
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546389?pr=9038
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546469?pr=9038
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546484?pr=9038
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133870546371?pr=9038
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461391/job/133873334700?pr=9038
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133870553469?pr=9038
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133870552887?pr=9038
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133870553407?pr=9038
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133870553311?pr=9038
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277525?pr=9038
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277524?pr=9038
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277476?pr=9038
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277507?pr=9038
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277475?pr=9038
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277473?pr=9038
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277566?pr=9038
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461393/job/133876277520?pr=9038
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461438
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461438/job/133870553560?pr=9038
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461438/job/133870553231?pr=9038
gcc-versions on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461469
build (ghcr.io/cppcheck-opensource/gcc:5.4) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461469/job/133870558614?pr=9038
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461475
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461475/job/133870557711?pr=9038
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461471
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461471/job/133870566760?pr=9038
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461471/job/133870566355?pr=9038
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461575
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461575/job/133870564693?pr=9038
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461577
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461577/job/133870568896?pr=9038
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461586
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461586/job/133870575275?pr=9038
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795
build_cmake (ubuntu:24.04, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795/job/133870578074?pr=9038
build_cmake (ubuntu:25.10, true, true) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795/job/133870578129?pr=9038
build_cmake (alpine:3.23, false, false) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795/job/133870578036?pr=9038
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795/job/133870578119?pr=9038
build_make (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795/job/133870577710?pr=9038
build_make (alpine:3.23) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461795/job/133870578052?pr=9038
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461615
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461615/job/133870581499?pr=9038
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870584907?pr=9038
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870584625?pr=9038
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585067?pr=9038
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870584988?pr=9038
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585034?pr=9038
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585087?pr=9038
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585092?pr=9038
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585013?pr=9038
build_cmake_minimum https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585007?pr=9038
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585084?pr=9038
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870584968?pr=9038
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870585219?pr=9038
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461614/job/133870584945?pr=9038
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461619
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461619/job/133870579362?pr=9038
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461663
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461663/job/133870582364?pr=9038
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461700
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461700/job/133870586421?pr=9038
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461734
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/44023461734/job/133870590032?pr=9038
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/9038/checks?check_run_id=133872070123
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/9038/checks?check_run_id=133870999788
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.