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
test
testother.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 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 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 27, 2011
Remove ErrorLogger::reportStatus() method.
Show description for c7d99fe
kimmov
committed
c7d99fe
View commit details
Copy full SHA for c7d99fe
View code at this point
Browse repository at this point
Commits on Apr 26, 2011
Report percentage complete based on file size
Show description for 6d858b6
ghewgill
committed
6d858b6
View commit details
Copy full SHA for 6d858b6
View code at this point
Browse repository at this point
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 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 16, 2011
Fixed #2713 (False positive (Redundant assignment))
Daniel Marjamäki
committed
739b6a9
View commit details
Copy full SHA for 739b6a9
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
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
Commits on Apr 4, 2011
clarify calculation: fixed false negative for 'int x = a - b ? 2 : 3'
Daniel Marjamäki
committed
4ac3c7f
View commit details
Copy full SHA for 4ac3c7f
View code at this point
Browse repository at this point
Commits on Apr 3, 2011
Clarify calculation: Added warnings for << and >>
Daniel Marjamäki
committed
63acd9b
View commit details
Copy full SHA for 63acd9b
View code at this point
Browse repository at this point
Commits on Apr 2, 2011
clarify precedence: made the short message shorter
Daniel Marjamäki
committed
29422b8
View commit details
Copy full SHA for 29422b8
View code at this point
Browse repository at this point
Clarify precedence 'a*b?c:d' : warn for addition, subtraction and division also. tried to clarify the message more
Daniel Marjamäki
committed
855b01c
View commit details
Copy full SHA for 855b01c
View code at this point
Browse repository at this point
Commits on Mar 30, 2011
Spell checks
Stefan Weil
authored and
Daniel Marjamäki
committed
0e4cf7a
View commit details
Copy full SHA for 0e4cf7a
View code at this point
Browse repository at this point
Commits on Mar 20, 2011
Fixed #2661 (False positive: object destroyed immediately)
Daniel Marjamäki
committed
27506b4
View commit details
Copy full SHA for 27506b4
View code at this point
Browse repository at this point
Commits on Mar 13, 2011
Fixed #2639 (False positive: confusion between struct and function)
Daniel Marjamäki
committed
ed11a9e
View commit details
Copy full SHA for ed11a9e
View code at this point
Browse repository at this point
Commits on Mar 12, 2011
Merge branch '2390b' of https://github.com/elfring/cppcheck into elfring-2390b
Daniel Marjamäki
committed
29ab409
View commit details
Copy full SHA for 29ab409
View code at this point
Browse repository at this point
Commits on Mar 11, 2011
throwing an exception is a valid immediate exit from switch
ghewgill
committed
2716b85
View commit details
Copy full SHA for 2716b85
View code at this point
Browse repository at this point
Commits on Mar 9, 2011
Suspicious condition: Added new check for conditions that contains assignment+comparison
Daniel Marjamäki
committed
db48158
View commit details
Copy full SHA for db48158
View code at this point
Browse repository at this point
Commits on Mar 7, 2011
Incorrect string compare: reduce noise when using strncmp on string literal
Daniel Marjamäki
committed
06abaf9
View commit details
Copy full SHA for 06abaf9
View code at this point
Browse repository at this point
Commits on Mar 6, 2011
switchCaseFallThrough is now an inconclusive check
ghewgill
committed
b9df773
View commit details
Copy full SHA for b9df773
View code at this point
Browse repository at this point
Commits on Mar 5, 2011
Relax detection of 'fall through' comment so it only adds a suppression if it immediately precedes 'case' or 'default'
ghewgill
committed
c839490
View commit details
Copy full SHA for c839490
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.