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
lib
checkunusedvar.cpp
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 27, 2026
fix #14795: FP unusedStructMember when type is a template parameter (#8600)
ludviggunne
authored
422e90c
View commit details
Copy full SHA for 422e90c
View code at this point
Browse repository at this point
Commits on Jun 25, 2026
Fix #13678 FN constParameterPointer (calling const function on struct member) (#8624)
chrchr-github
authored
d8eaa52
View commit details
Copy full SHA for d8eaa52
View code at this point
Browse repository at this point
Commits on Jun 17, 2026
Fix #14783 / #14784 FN unusedVariable with templated type (default constructor, regression) (#8574)
Show description for af63e5f
chrchr-github
and
web-flow
authored
af63e5f
View commit details
Copy full SHA for af63e5f
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
pass `ErrorLogger` by reference in `Check`/`CheckImpl` (#8601)
firewave
authored
8684514
View commit details
Copy full SHA for 8684514
View code at this point
Browse repository at this point
Commits on May 29, 2026
Fix #14785/14786 FN unusedStructMember (scoped standard type, smart pointer) (#8576)
Show description for 15a4191
chrchr-github
and
web-flow
authored
15a4191
View commit details
Copy full SHA for 15a4191
View code at this point
Browse repository at this point
pass `Settings` by reference in checks (#8593)
firewave
authored
98ac18e
View commit details
Copy full SHA for 98ac18e
View code at this point
Browse repository at this point
Commits on May 28, 2026
split the actual check implementations from the instances (#5323)
firewave
authored
f1379d6
View commit details
Copy full SHA for f1379d6
View code at this point
Browse repository at this point
Commits on May 16, 2026
refs #14498 - do not create global static instances of the checks (#8555)
firewave
authored
f7f0549
View commit details
Copy full SHA for f7f0549
View code at this point
Browse repository at this point
Commits on Apr 25, 2026
Fix #14637: FP unassignedVariable with reference to array (#8441)
ludviggunne
authored
92d9735
View commit details
Copy full SHA for 92d9735
View code at this point
Browse repository at this point
Commits on Apr 16, 2026
Fix #14160 FP unreadVariable for smart pointer (#8452)
Show description for 0589dca
chrchr-github
and
web-flow
authored
0589dca
View commit details
Copy full SHA for 0589dca
View code at this point
Browse repository at this point
Commits on Apr 14, 2026
Fix #14643, #10965, #11704: false positive: unreadVariable for constructors with unknown side effects (#8420)
ludviggunne
authored
01fd500
View commit details
Copy full SHA for 01fd500
View code at this point
Browse repository at this point
Commits on Apr 11, 2026
Fix #14661 Regression while handling arrays of function pointers (#8436)
Show description for bc7cfdf
mptre
authored
bc7cfdf
View commit details
Copy full SHA for bc7cfdf
View code at this point
Browse repository at this point
Commits on Apr 9, 2026
Fix #14635 FN unusedVariable for array of pointers (#8402)
chrchr-github
authored
b599bb4
View commit details
Copy full SHA for b599bb4
View code at this point
Browse repository at this point
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 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 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 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 14, 2025
Fix #2062 FN variable scope can be reduced (class instance) (#7885)
Show description for 7ca4556
chrchr-github
and
web-flow
authored
7ca4556
View commit details
Copy full SHA for 7ca4556
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
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
Commits on Jul 29, 2025
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 Mar 16, 2025
fixed some `Variable copied when it could be moved` Coverity warnings (#7278)
firewave
authored
de1a969
View commit details
Copy full SHA for de1a969
View code at this point
Browse repository at this point
Commits on Mar 5, 2025
symboldatabase.h: make it possible to forward declare `ScopeType` (#7352)
firewave
authored
f880119
View commit details
Copy full SHA for f880119
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 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 Jan 1, 2025
moved `runChecks()` and `getErrorMessages()` implementions of checks into source files (#7139)
firewave
authored
f441e77
View commit details
Copy full SHA for f441e77
View code at this point
Browse repository at this point
enabled and fixed `modernize-use-auto` clang-tidy warnings (#6969)
firewave
authored
e228821
View commit details
Copy full SHA for e228821
View code at this point
Browse repository at this point
Commits on Dec 16, 2024
avoid using a temporary object when inserting into a container (#7102)
firewave
authored
d58389d
View commit details
Copy full SHA for d58389d
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
Previous
Next
You can’t perform that action at this time.