Zachary Blair
|
680a470741
|
Fixed #1564 (CppCheck does not recognise redundant IF)
|
2010-04-22 01:21:54 -07:00 |
Zachary Blair
|
c26e619b23
|
Fixed #855 (Refactoring: move conditions into checks)
|
2010-04-20 23:38:25 -07:00 |
Robert Reif
|
d851b4a3d4
|
Fixed #1607 (false positive: variable is assigned a value that is never used)
|
2010-04-17 14:23:29 +02:00 |
Daniel Marjamäki
|
b19113426f
|
Unused struct member: Fixed false positives
|
2010-04-17 11:16:05 +02:00 |
Robert Reif
|
61b5a21ac9
|
Fixed #1605 (false positive: uninitialized variable)
|
2010-04-16 16:25:57 +02:00 |
Robert Reif
|
45573ad101
|
Fixed #1607 (false positive: variable is assigned a value that is never used)
|
2010-04-16 15:57:09 +02:00 |
Daniel Marjamäki
|
c718a7c595
|
astyle: Update to astyle 1.24
|
2010-04-15 20:08:51 +02:00 |
Robert Reif
|
01aa414f32
|
Fixed #1253 (improve check: uninitialized variable not found when using reference)
|
2010-04-15 18:44:52 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Daniel Marjamäki
|
8373a6d4cb
|
astyle formatting
|
2010-04-13 19:30:51 +02:00 |
Zachary Blair
|
bd7dc9946e
|
Fixed #1530 (possible new check: strlen return value versus zero.)
|
2010-04-13 19:30:25 +02:00 |
Daniel Marjamäki
|
e9b4ea44a2
|
Refactoring: Disable inconclusive checks. They can still be activated for debugging/testing purposes
|
2010-04-10 14:05:33 +02:00 |
Daniel Marjamäki
|
f77dbbb14b
|
Fixed some false positives for unused struct members
|
2010-04-09 19:55:41 +02:00 |
Daniel Marjamäki
|
38a28e28ec
|
Fixed #1581 (False positives 'The scope of the variable x can be reduced')
|
2010-04-09 16:53:27 +02:00 |
Reijo Tomperi
|
5aa88ee5a2
|
Fix vs warnings. Apply patch from kidkat.
|
2010-04-06 21:35:21 +03:00 |
Martin Ettl
|
4bc325f077
|
#ticket 1513: added sqrt() support
|
2010-04-05 20:20:20 +02:00 |
Reijo Tomperi
|
93d195aa0f
|
astyle fix
|
2010-04-05 21:12:43 +03:00 |
Martin Ettl
|
f895ab9a0d
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-04-05 20:08:21 +02:00 |
Martin Ettl
|
fe7c6aed9f
|
#ticket 1513: added pow() support
|
2010-04-05 20:07:53 +02:00 |
Reijo Tomperi
|
04b38e5428
|
astyle fix
|
2010-04-05 20:57:54 +03:00 |
Martin Ettl
|
218c18496d
|
#ticket 1513 added fmod() support
|
2010-04-05 19:45:33 +02:00 |
Martin Ettl
|
d4923e2a92
|
added atan2() check to ticket #1513
|
2010-04-05 19:35:56 +02:00 |
Daniel Marjamäki
|
61e1c4183f
|
Uninitialized variables: better handling of 'a[b[..]]' when b is not initialized
|
2010-04-05 09:04:30 +02:00 |
Daniel Marjamäki
|
d26a2cfc16
|
Uninitialized variables: Detect reading uninitialized data through array/pointer variable
|
2010-04-05 08:38:26 +02:00 |
Daniel Marjamäki
|
abceff497b
|
Refactoring: some refactoring of ExecutionPath. The foundError was removed. No automatic bailout of all checks are made when errors are found.
|
2010-04-04 11:24:52 +02:00 |
Daniel Marjamäki
|
78852b08ab
|
Fixed #1566 (false negative: uninitialized variable)
|
2010-04-04 09:17:53 +02:00 |
Reijo Tomperi
|
be598757a1
|
Fix segmentation fault when calling with --errorlist and add a testcase for it.
|
2010-04-03 22:53:06 +03:00 |
Daniel Marjamäki
|
5f9e14e242
|
Borland C++: Fixed compiler error
|
2010-04-03 07:51:40 +02:00 |
Reijo Tomperi
|
93d4851040
|
astyle fix
|
2010-04-02 22:17:09 +03:00 |
Martin Ettl
|
0c2f4831d8
|
#ticket #1513 added asin() support
|
2010-04-02 20:59:39 +02:00 |
Martin Ettl
|
c391a03db6
|
added acos() check to ticket #1513; added testcases for MathLib::toDoubleNumber(), now double conversion of zeros is handled correctly; changed assertEquals() function of testsuite parameters from unsigned int to double. This is needed to avoid overflow of unsigned int by comparing negative floating point values.
|
2010-04-02 20:23:37 +02:00 |
Martin Ettl
|
9788333ee9
|
added log10() check, for checking about parameters passed to mathfunctions that do not make sense
|
2010-04-02 19:17:41 +02:00 |
Daniel Marjamäki
|
8b5aae9adb
|
astyle formatting
|
2010-04-02 07:32:03 +02:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Martin Ettl
|
b5fb01c202
|
ticket #1513 new check: Detecting obviously wrong math call arguments passed to math functions)
|
2010-04-02 02:19:38 +02:00 |
Daniel Marjamäki
|
a68d8dbc77
|
Fixed #1549 (false positive: uninitialized variable)
|
2010-03-31 20:20:51 +02:00 |
Daniel Marjamäki
|
c3edc5fd89
|
Fixed #1148 (improve check: usage of uninitialized variables)
|
2010-03-28 21:27:06 +02:00 |
Robert Reif
|
62d2845014
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-28 15:56:13 +02:00 |
Raphael Geissert
|
c0e09c4cb3
|
Fixed #1511 (false negative null pointer deref when dereferencing pointers to constants)
|
2010-03-26 16:44:46 +01:00 |
Daniel Marjamäki
|
e911d1f1df
|
doxygen updates
|
2010-03-17 22:16:18 +01:00 |
Daniel Marjamäki
|
235404077f
|
Fixed #1501 (false positive: Variable 'n' is assigned a value that is never used)
|
2010-03-16 19:25:10 +01:00 |
Daniel Marjamäki
|
15d67a2369
|
Fixed #1503 (False positive for uninitialized variable)
|
2010-03-16 19:09:37 +01:00 |
Daniel Marjamäki
|
30d3418b11
|
doxygen: added more comments for CheckNullPointer and CheckUninitVar
|
2010-03-13 21:42:59 +01:00 |
Daniel Marjamäki
|
7f42ed3ad0
|
Fixed #1472 (false positive: Data is allocated but not initialized: service)
|
2010-03-07 09:08:52 +01:00 |
Daniel Marjamäki
|
6ca4b008d0
|
null pointer: Fixed better error message for 'possible null pointer' + removed redundant check in our Tokenizer.
|
2010-02-28 07:26:50 +01:00 |
Daniel Marjamäki
|
0b2ad2164f
|
Fixed #1442 (false positive: getting offset instead of dereferencing a null pointer)
|
2010-02-22 21:30:21 +01:00 |
Daniel Marjamäki
|
e4a685c6e9
|
Fixed #1430 (void foo(int nb))
|
2010-02-21 08:02:44 +01:00 |
Daniel Marjamäki
|
a25cdd63b6
|
Refactored the CheckOther::functionVariableUsage
|
2010-02-21 07:05:44 +01:00 |
Daniel Marjamäki
|
375d2b1fcd
|
astyle formatting
|
2010-02-18 19:55:47 +01:00 |