Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
cppchecksolutions
/
cppcheck
Public
forked from
cppcheck-opensource/cppcheck
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
test
testunusedvar.cpp
on
test-github-sarif
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 29, 2025
fix #13977: false negative: unreadVariable with unrelated function call after rvalue declaration (regression) (#7702)
ludviggunne
authored
405edfd
View commit details
Copy full SHA for 405edfd
View code at this point
Browse repository at this point
fix #13269: FN: unusedVariable with structured binding (#7701)
ludviggunne
authored
cc18720
View commit details
Copy full SHA for cc18720
View code at this point
Browse repository at this point
Commits on Jul 4, 2025
fix #13954: Unnamed bit fields are removed. (#7611)
ludviggunne
authored
326a930
View commit details
Copy full SHA for 326a930
View code at this point
Browse repository at this point
Commits on May 28, 2025
Fix #13887 (False positive: template argument reported as unused struct member) (#7551)
danmar
authored
60eb475
View commit details
Copy full SHA for 60eb475
View code at this point
Browse repository at this point
Commits on May 2, 2025
testrunner: added more IDs and columns to expected output (#7489)
firewave
authored
88ef81e
View commit details
Copy full SHA for 88ef81e
View code at this point
Browse repository at this point
Commits on Apr 15, 2025
testrunner: some `SimpleTokenizer` refactoring (#7467)
firewave
authored
20681a3
View commit details
Copy full SHA for 20681a3
View code at this point
Browse repository at this point
Commits on Apr 13, 2025
testrunner: more `Tokenizer` related refactoring (#7440)
firewave
authored
5ba1c9d
View commit details
Copy full SHA for 5ba1c9d
View code at this point
Browse repository at this point
Commits on Apr 7, 2025
testrunner: some `Tokenizer` related refactoring (#7427)
firewave
authored
44d097d
View commit details
Copy full SHA for 44d097d
View code at this point
Browse repository at this point
Commits on Feb 23, 2025
release: Update copyright year (#7319)
danmar
authored
11f0f4d
View commit details
Copy full SHA for 11f0f4d
View code at this point
Browse repository at this point
Commits on Jan 28, 2025
Fix #13559: Tokenizer: remove simplification that converts 'int x(0)' to 'int x; x = 0;' (#7252)
olabetskyi
authored
efef484
View commit details
Copy full SHA for efef484
View code at this point
Browse repository at this point
Commits on Jan 23, 2025
testrunner: cleaned up tests by using objects to pass the options (#7189)
firewave
authored
2995c4b
View commit details
Copy full SHA for 2995c4b
View code at this point
Browse repository at this point
Commits on Jan 18, 2025
Fix #13557: Tokenizer: Use same simplification for 'int x{0}' and 'int x(0)' (#7223)
olabetskyi
authored
8f42596
View commit details
Copy full SHA for 8f42596
View code at this point
Browse repository at this point
Commits on Jan 13, 2025
fix #13551: Crash in checkStructMemberUsage() (#7217)
ludviggunne
authored
0e1166b
View commit details
Copy full SHA for 0e1166b
View code at this point
Browse repository at this point
fix #13107: FP unusedStructMember with structured binding (#7177)
ludviggunne
authored
cdc8cee
View commit details
Copy full SHA for cdc8cee
View code at this point
Browse repository at this point
Commits on Dec 3, 2024
Fix #13367: (crash) nullptr dereference in checkStructMemberUsage() (#7063)
ludviggunne
authored
c2adbe3
View commit details
Copy full SHA for c2adbe3
View code at this point
Browse repository at this point
Commits on Nov 26, 2024
Fix #13345: FP unusedStructMember when member is only used in offsetof() (#7041)
ludviggunne
authored
9ddcc58
View commit details
Copy full SHA for 9ddcc58
View code at this point
Browse repository at this point
Commits on Aug 12, 2024
Partial fix for #8433 FN unusedVariable not detected when there is lambda (regression) (#6685)
chrchr-github
authored
5fecde1
View commit details
Copy full SHA for 5fecde1
View code at this point
Browse repository at this point
Commits on Aug 11, 2024
Fix #12999: Improve smart_pointer ValueType assignment (#6674)
olabetskyi
authored
c8cdd7a
View commit details
Copy full SHA for c8cdd7a
View code at this point
Browse repository at this point
Commits on Jul 14, 2024
Fix #12935 FP unassignedVariable with static empty QString in function (#6599)
chrchr-github
authored
9eba96e
View commit details
Copy full SHA for 9eba96e
View code at this point
Browse repository at this point
Commits on Apr 20, 2024
Update copyright year (#6310)
danmar
authored
58030b8
View commit details
Copy full SHA for 58030b8
View code at this point
Browse repository at this point
Commits on Apr 18, 2024
Fix #12363 FP unreadVariable with unknown constructor that takes a parameter (#6305)
chrchr-github
authored
1fa728c
View commit details
Copy full SHA for 1fa728c
View code at this point
Browse repository at this point
Commits on Apr 11, 2024
made more `mErrorLogger` members references (#6276)
firewave
authored
437c284
View commit details
Copy full SHA for 437c284
View code at this point
Browse repository at this point
Preprocessor: made `mErrorLogger` a reference (#6274)
firewave
authored
b9c535c
View commit details
Copy full SHA for b9c535c
View code at this point
Browse repository at this point
Tokenizer: removed `Preprocessor` dependency (#6265)
firewave
authored
423617a
View commit details
Copy full SHA for 423617a
View code at this point
Browse repository at this point
Commits on Apr 10, 2024
Tokenizer: moved test-only `tokenize()` to `SimpleTokenizer` / several cleanups (#6264)
firewave
authored
789be1c
View commit details
Copy full SHA for 789be1c
View code at this point
Browse repository at this point
Commits on Mar 22, 2024
Fix #11644 Tokenizer: garbage code '(sizeof=)' (#6166)
chrchr-github
authored
7dfbb65
View commit details
Copy full SHA for 7dfbb65
View code at this point
Browse repository at this point
Commits on Mar 21, 2024
Partial fix for #12529 FN unreadVariable/unusedVariable with library type (#6170)
chrchr-github
authored
69037c9
View commit details
Copy full SHA for 69037c9
View code at this point
Browse repository at this point
Commits on Mar 20, 2024
Fix #12531 Crash in doAssignment() (#6159)
chrchr-github
authored
c98029b
View commit details
Copy full SHA for c98029b
View code at this point
Browse repository at this point
Commits on Mar 13, 2024
Fix #12445 FP iterators3, mismatchingContainerIterator with reference after cast (#6124)
chrchr-github
authored
88df55c
View commit details
Copy full SHA for 88df55c
View code at this point
Browse repository at this point
testrunner: make sure the error output is consumed (#6117)
firewave
authored
1bace58
View commit details
Copy full SHA for 1bace58
View code at this point
Browse repository at this point
Commits on Mar 8, 2024
iwyu.yml: use OpenSUSE to get latest `include-what-you-use` / cleaned up includes (#5673)
Show description for f465dc5
firewave
authored
f465dc5
View commit details
Copy full SHA for f465dc5
View code at this point
Browse repository at this point
Commits on Mar 4, 2024
iwyu.yml: treat explicit clang include directory in clang-tidy invocation as a system include / cleaned up includes (#5983)
Show description for 2464a9d
firewave
authored
2464a9d
View commit details
Copy full SHA for 2464a9d
View code at this point
Browse repository at this point
Fix #12485 Regression: FN: unusedStructMember (#6079)
chrchr-github
authored
0ab4257
View commit details
Copy full SHA for 0ab4257
View code at this point
Browse repository at this point
Commits on Jan 31, 2024
testrunner: reduced usage of mutable `Settings` / some cleanups (#5909)
firewave
authored
e3f0676
View commit details
Copy full SHA for e3f0676
View code at this point
Browse repository at this point
Commits on Jan 13, 2024
pass `Settings` by reference into `Tokenizer` (#5857)
Show description for d015007
firewave
authored
d015007
View commit details
Copy full SHA for d015007
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.