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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
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
createrelease-upload
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 2, 2026
Release: Update copyright year (#8285)
danmar
authored
9a00e4a
View commit details
Copy full SHA for 9a00e4a
View code at this point
Browse repository at this point
Commits on Feb 24, 2026
Add tests for #14479 & #14480: False negatives with member pointers (#8244)
Show description for 6c20dbe
ludviggunne
authored
6c20dbe
View commit details
Copy full SHA for 6c20dbe
View code at this point
Browse repository at this point
Commits on Feb 21, 2026
Fix #14483: false negative: unusedStructMember (member pointer) (#8228)
ludviggunne
authored
a5db405
View commit details
Copy full SHA for a5db405
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Fix #13671 duplicated unreadVariable with assignment in variable declaration (#8139)
Show description for cc24161
3 people
authored
cc24161
View commit details
Copy full SHA for cc24161
View code at this point
Browse repository at this point
Commits on Jan 2, 2026
Fix #14125: false positive: unusedVariable with trailing [[maybe_unused]] attribute (#8029)
ludviggunne
authored
b933258
View commit details
Copy full SHA for b933258
View code at this point
Browse repository at this point
cleaned up includes based on `include-what-you-use` (#8070)
firewave
authored
ac3f534
View commit details
Copy full SHA for ac3f534
View code at this point
Browse repository at this point
Commits on Dec 17, 2025
fixed #14330/#14268 - updated simplecpp to 1.6.4 / adjusted file lookups from `simplecpp::Location` (#8000)
firewave
authored
ea63a21
View commit details
Copy full SHA for ea63a21
View code at this point
Browse repository at this point
Commits on Dec 9, 2025
Fix #13303 FN unreadVariable (iterator) (#8023)
chrchr-github
authored
804c4a4
View commit details
Copy full SHA for 804c4a4
View code at this point
Browse repository at this point
Commits on Dec 7, 2025
Fix #14199 FN unusedVariable with templated type (regression) (#8013)
chrchr-github
authored
028baa2
View commit details
Copy full SHA for 028baa2
View code at this point
Browse repository at this point
Commits on Nov 20, 2025
got rid of test-only `Directive` constructor (#7972)
firewave
authored
1aefbab
View commit details
Copy full SHA for 1aefbab
View code at this point
Browse repository at this point
Commits on Oct 17, 2025
cleaned up includes based on include-what-you-use (#7895)
firewave
authored
5ace300
View commit details
Copy full SHA for 5ace300
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
testrunner: removed unnecessary default constructors from test options (#7889)
firewave
authored
59d9ba3
View commit details
Copy full SHA for 59d9ba3
View code at this point
Browse repository at this point
Commits on Oct 8, 2025
Fix #7458 (FP unusedStructMember with struct in union) (#7844)
danmar
authored
a0e7c5b
View commit details
Copy full SHA for a0e7c5b
View code at this point
Browse repository at this point
Commits on Oct 2, 2025
fix #14130: false positive: unusedStructMember with [[maybe_unused]] (#7818)
ludviggunne
authored
8b2249c
View commit details
Copy full SHA for 8b2249c
View code at this point
Browse repository at this point
fix #14131: False positive: unusedStructMember with __attribute__((unused)) (#7817)
ludviggunne
authored
c8a7ab8
View commit details
Copy full SHA for c8a7ab8
View code at this point
Browse repository at this point
Commits on Sep 23, 2025
Fix #14075 (False positive: unusedStructMember, member usage by alignas is ignored) (#7842)
Show description for 376d7f1
danmar
authored
376d7f1
View commit details
Copy full SHA for 376d7f1
View code at this point
Browse repository at this point
pass a char buffer to simplecpp instead of a stream (#6379)
firewave
authored
20bed39
View commit details
Copy full SHA for 20bed39
View code at this point
Browse repository at this point
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
Previous
Next
You can’t perform that action at this time.