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 }}
cppfellow
/
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
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 4, 2015
6755 segmentation fault (invalid code) in Token::isAssignmentOp. #6756 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix two crashes.
amai2012
committed
5f4902c
View commit details
Copy full SHA for 5f4902c
View code at this point
Browse repository at this point
Commits on Jun 3, 2015
#6753 segmentation fault (invalid code) in CheckMemoryLeakStructMember::checkStructVariable. #6754 segmentation fault (invalid code) in CheckUnusedVar::checkFunctionVariableUsage_iterateScopes. Tri…
Show description for f2d3978
amai2012
committed
f2d3978
View commit details
Copy full SHA for f2d3978
View code at this point
Browse repository at this point
Commits on Mar 20, 2015
Merge overlapping patterns
Dmitry-Me
committed
4a75ac5
View commit details
Copy full SHA for 4a75ac5
View code at this point
Browse repository at this point
Commits on Jan 31, 2015
Refactorization: Renamed Token::Match pattern %var% to %name%, implement new pattern %var% which is true if varId > 0.
PKEuS
committed
b283505
View commit details
Copy full SHA for b283505
View code at this point
Browse repository at this point
Commits on Jan 18, 2015
Check "var" for null pointer before using it
Show description for a83fe0e
thomasjfox
committed
a83fe0e
View commit details
Copy full SHA for a83fe0e
View code at this point
Browse repository at this point
Commits on Jan 17, 2015
Clean up redundant pointer operations
thomasjfox
committed
fd01caf
View commit details
Copy full SHA for fd01caf
View code at this point
Browse repository at this point
Commits on Jan 14, 2015
Make sure we have a valid Variable pointer before dereferencing it
Show description for ef7f104
thomasjfox
committed
ef7f104
View commit details
Copy full SHA for ef7f104
View code at this point
Browse repository at this point
Commits on Jan 3, 2015
Updated copyright year to 2015
danmar
committed
ff11ba9
View commit details
Copy full SHA for ff11ba9
View code at this point
Browse repository at this point
Commits on Dec 7, 2014
#6301 Unused shared lock variable. Add exception for std::shared_lock() to CheckUnusedVar::checkFunctionVariableUsage_iterateScopes()
amai2012
committed
ec2c4aa
View commit details
Copy full SHA for ec2c4aa
View code at this point
Browse repository at this point
Commits on Nov 20, 2014
Fix some (clang) compiler warnings
amai2012
committed
d4e5906
View commit details
Copy full SHA for d4e5906
View code at this point
Browse repository at this point
astyle formatting
danmar
committed
051d42a
View commit details
Copy full SHA for 051d42a
View code at this point
Browse repository at this point
running astyle
orbitcowboy
committed
f5d804f
View commit details
Copy full SHA for f5d804f
View code at this point
Browse repository at this point
Commits on Nov 13, 2014
Make single-argument constructors explicit
amai2012
committed
5300ba2
View commit details
Copy full SHA for 5300ba2
View code at this point
Browse repository at this point
Commits on Sep 30, 2014
Fixed false positive 'unusedVar' with C++11 initialization (#6160)
PKEuS
committed
936043d
View commit details
Copy full SHA for 936043d
View code at this point
Browse repository at this point
Commits on Sep 17, 2014
Merge overlapping patterns, move declarations
Dmitry-Me
committed
32f7a78
View commit details
Copy full SHA for 32f7a78
View code at this point
Browse repository at this point
Commits on Sep 16, 2014
Move declaration, run check earlier
Dmitry-Me
committed
7c4b9be
View commit details
Copy full SHA for 7c4b9be
View code at this point
Browse repository at this point
Commits on Aug 31, 2014
Fixed false positive #5466
PKEuS
committed
b891890
View commit details
Copy full SHA for b891890
View code at this point
Browse repository at this point
No unused variable messages about std::unique_ptr|shared_ptr|auto_ptr (#4355)
PKEuS
committed
8f4662d
View commit details
Copy full SHA for 8f4662d
View code at this point
Browse repository at this point
Commits on Aug 14, 2014
Some safe coding. Check that pointer is not null.
Dmitry-Me
authored and
danmar
committed
7e442cf
View commit details
Copy full SHA for 7e442cf
View code at this point
Browse repository at this point
Commits on Aug 6, 2014
Implement support for __attribute__((used)) (#3408)
PKEuS
committed
adcc8b1
View commit details
Copy full SHA for adcc8b1
View code at this point
Browse repository at this point
Commits on Aug 5, 2014
Support C++11 style initialization with {}:
Show description for f3e0df7
PKEuS
committed
f3e0df7
View commit details
Copy full SHA for f3e0df7
View code at this point
Browse repository at this point
Commits on Aug 3, 2014
Fixed false negative #5985: default argument values should not affect variable usage checking.
PKEuS
committed
57c055f
View commit details
Copy full SHA for 57c055f
View code at this point
Browse repository at this point
Commits on Jul 31, 2014
Fixed crash #5991: Don't crash when lambda is incomplete
Show description for 95afa51
PKEuS
committed
95afa51
View commit details
Copy full SHA for 95afa51
View code at this point
Browse repository at this point
Commits on Jul 17, 2014
Fixed false positive #5976: Properly handle shift from stream.
PKEuS
committed
8c96cc5
View commit details
Copy full SHA for 8c96cc5
View code at this point
Browse repository at this point
Commits on Jul 1, 2014
Several improvements to CheckUnusedVar::checkFunctionVariableUsage_iterateScopes():
Show description for 3d0ebe1
PKEuS
committed
3d0ebe1
View commit details
Copy full SHA for 3d0ebe1
View code at this point
Browse repository at this point
Commits on Mar 14, 2014
Use simple match where possible
Show description for 93341f4
thomasjfox
committed
93341f4
View commit details
Copy full SHA for 93341f4
View code at this point
Browse repository at this point
Commits on Feb 16, 2014
Change some more 0 literals into nullptr.
lanurmi
committed
70a67ea
View commit details
Copy full SHA for 70a67ea
View code at this point
Browse repository at this point
Commits on Feb 15, 2014
use nullptr in lib/checkother.cpp
danmar
committed
fb5c2d4
View commit details
Copy full SHA for fb5c2d4
View code at this point
Browse repository at this point
Update copyright
danmar
committed
fd3a8a2
View commit details
Copy full SHA for fd3a8a2
View code at this point
Browse repository at this point
Commits on Feb 1, 2014
5355: False postive var not assigned
Show description for 6bfd4af
xypron
committed
6bfd4af
View commit details
Copy full SHA for 6bfd4af
View code at this point
Browse repository at this point
Commits on Jan 30, 2014
Refactor checks using Variable::isStlType()
lucasmrod
committed
ad0269e
View commit details
Copy full SHA for ad0269e
View code at this point
Browse repository at this point
Commits on Jan 24, 2014
[PATCH] Types in isRecordTypeWithoutSideEffects
Show description for de20ba6
xypron
authored and
danmar
committed
de20ba6
View commit details
Copy full SHA for de20ba6
View code at this point
Browse repository at this point
Commits on Oct 26, 2013
Fixed #4956 (false positive: Variable 'myIsFirst' is assigned a value that is never used.)
danmar
committed
853d9dd
View commit details
Copy full SHA for 853d9dd
View code at this point
Browse repository at this point
Commits on Sep 3, 2013
Fixed #4899 (False positive on unused variable)
danmar
committed
3b8e9f5
View commit details
Copy full SHA for 3b8e9f5
View code at this point
Browse repository at this point
Commits on Aug 30, 2013
Fixed #3471 (Unused functions: take __attribute__((constructor)) in to consideration)
danmar
committed
4a1d1ce
View commit details
Copy full SHA for 4a1d1ce
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.