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 }}
applsdev
/
cppcheck
Public
forked from
mathieu/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
checkother.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 17, 2011
made #2827 fix more generic by adding more ops and using pattern matching rather than string matching
IOBYTE
committed
76d0872
View commit details
Copy full SHA for 76d0872
View code at this point
Browse repository at this point
fix #2827 to use numeric comparisons
IOBYTE
committed
4149617
View commit details
Copy full SHA for 4149617
View code at this point
Browse repository at this point
fix #2827 condition always false or true)
IOBYTE
committed
430d220
View commit details
Copy full SHA for 430d220
View code at this point
Browse repository at this point
Commits on Jul 15, 2011
Fixed #2822 (New check: Duplicate break statements in switch)
zblair
committed
997a365
View commit details
Copy full SHA for 997a365
View code at this point
Browse repository at this point
Commits on Jul 14, 2011
fix #2904 (Memory leak not detected when creating a new class instance)
IOBYTE
committed
270b2b1
View commit details
Copy full SHA for 270b2b1
View code at this point
Browse repository at this point
Commits on Jul 5, 2011
spell check of error message. contant => constant
Daniel Marjamäki
committed
0007351
View commit details
Copy full SHA for 0007351
View code at this point
Browse repository at this point
Fixed #2866 (Detect sign extension bugs)
Daniel Marjamäki
committed
8cd2c31
View commit details
Copy full SHA for 8cd2c31
View code at this point
Browse repository at this point
Fix spelling error in warning identifier
ghewgill
committed
657b003
View commit details
Copy full SHA for 657b003
View code at this point
Browse repository at this point
Commits on Jul 2, 2011
add support for checking unused std::string local variables
IOBYTE
committed
b32b2c6
View commit details
Copy full SHA for b32b2c6
View code at this point
Browse repository at this point
Commits on Jul 1, 2011
fix false positive for unused local class/struct variable
IOBYTE
committed
301e59c
View commit details
Copy full SHA for 301e59c
View code at this point
Browse repository at this point
add support in CheckOther::functionVariableUsage() for checking structures that are declared with struct keyword
IOBYTE
committed
18e6509
View commit details
Copy full SHA for 18e6509
View code at this point
Browse repository at this point
cleanup isStatic in CheckOther::functionVariableUsage()
IOBYTE
committed
3225c9d
View commit details
Copy full SHA for 3225c9d
View code at this point
Browse repository at this point
add support for detecting unused function variables of type class or struct
IOBYTE
committed
7826b5e
View commit details
Copy full SHA for 7826b5e
View code at this point
Browse repository at this point
Commits on Jun 8, 2011
Fixed #2805 (false positive: [NotAssigned1.cpp:5]: (style) Variable 'y' is not assigned a value)
Daniel Marjamäki
committed
97d47fa
View commit details
Copy full SHA for 97d47fa
View code at this point
Browse repository at this point
Commits on May 28, 2011
fix #2786 (new check: Using sizeof with numeric constant)
Show description for e06b241
seb777
committed
e06b241
View commit details
Copy full SHA for e06b241
View code at this point
Browse repository at this point
Commits on May 24, 2011
fix #2786
seb777
committed
287840e
View commit details
Copy full SHA for 287840e
View code at this point
Browse repository at this point
Commits on May 11, 2011
Fixed #2780 (false positive: variable p is not assigned a value 'int p[2]; *p = 0;')
Daniel Marjamäki
committed
144d811
View commit details
Copy full SHA for 144d811
View code at this point
Browse repository at this point
Commits on May 8, 2011
#2700 (common logic or cut and paste errors) make duplicate branches inclnclusive
IOBYTE
committed
2db6786
View commit details
Copy full SHA for 2db6786
View code at this point
Browse repository at this point
Commits on May 6, 2011
Fixed #2770 (False positives (scope can be reduced / variable is assigned value that is never used))
Daniel Marjamäki
committed
3629f95
View commit details
Copy full SHA for 3629f95
View code at this point
Browse repository at this point
Commits on Apr 26, 2011
Fixed #2722 (new check: statement that is always true (strcmp))
zblair
committed
46645ab
View commit details
Copy full SHA for 46645ab
View code at this point
Browse repository at this point
Commits on Apr 20, 2011
astyle formatting
Daniel Marjamäki
committed
46afc54
View commit details
Copy full SHA for 46afc54
View code at this point
Browse repository at this point
const parameter: Added comment to reduce false negatives for various classes in the std namespace
Daniel Marjamäki
committed
8417c4e
View commit details
Copy full SHA for 8417c4e
View code at this point
Browse repository at this point
Commits on Apr 19, 2011
Fixed #2734 (False positive: reports 'should be passed by reference' for std::streamoff)
Daniel Marjamäki
committed
68e7003
View commit details
Copy full SHA for 68e7003
View code at this point
Browse repository at this point
Commits on Apr 18, 2011
fix #2730 (The same expression on both sides of != is OK when checking for NaN)
IOBYTE
committed
c238b1b
View commit details
Copy full SHA for c238b1b
View code at this point
Browse repository at this point
Commits on Apr 10, 2011
add check for same expression on both sides of an operator (part of #2700)
IOBYTE
committed
5621237
View commit details
Copy full SHA for 5621237
View code at this point
Browse repository at this point
Merge branch 'master' of github.com:danmar/cppcheck
IOBYTE
committed
4347835
View commit details
Copy full SHA for 4347835
View code at this point
Browse repository at this point
fix a bug in checkDuplicateBranch where removed type info like signed/unsigned was not checked for difference
IOBYTE
committed
4a50aca
View commit details
Copy full SHA for 4a50aca
View code at this point
Browse repository at this point
Renamed Settings::stupid to Settings::experimental
Daniel Marjamäki
committed
e5d43d4
View commit details
Copy full SHA for e5d43d4
View code at this point
Browse repository at this point
Added Settings::stupid flag that can be used to hide checking that generates false positives.
Daniel Marjamäki
committed
30ee9ba
View commit details
Copy full SHA for 30ee9ba
View code at this point
Browse repository at this point
CheckOther: Code cleanup. Use %oror%
Daniel Marjamäki
committed
f284c3a
View commit details
Copy full SHA for f284c3a
View code at this point
Browse repository at this point
CheckOther: Use %op% in CheckUnsignedDivision
Daniel Marjamäki
committed
ec5ddb1
View commit details
Copy full SHA for ec5ddb1
View code at this point
Browse repository at this point
Commits on Apr 9, 2011
partial fix for #2700 (common logic or cut and paste errors)
IOBYTE
committed
66de41b
View commit details
Copy full SHA for 66de41b
View code at this point
Browse repository at this point
fix bug in previous commit: fix #311 (add detection of duplicated if else-cases)
IOBYTE
committed
d22fcb8
View commit details
Copy full SHA for d22fcb8
View code at this point
Browse repository at this point
fix #311 (add detection of duplicated if else-cases)
IOBYTE
committed
7e403ae
View commit details
Copy full SHA for 7e403ae
View code at this point
Browse repository at this point
Refactoring: Use Token::isArithmeticalOp instead of hardcoded conditions
Daniel Marjamäki
committed
7d93bfb
View commit details
Copy full SHA for 7d93bfb
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.