Daniel Marjamäki
|
0f9415a5fb
|
Fixed #2330 (unreadVariable error for a fstream object when only extraction operator (>>) is used)
|
2010-12-21 19:02:00 +01:00 |
Robert Reif
|
244974a61a
|
unused variables: fixed false negatives with the help of the symbol database. ticket: #2317
|
2010-12-21 08:13:40 +01:00 |
Daniel Marjamäki
|
f73cce9eca
|
Fixed #2317 ((style) Variable is allocated memory that is never used)
|
2010-12-20 18:31:16 +01:00 |
Daniel Marjamäki
|
02892499d2
|
Fixed #2286 (Variable 'ownKilled' is assigned a value that is never used)
|
2010-12-19 18:27:31 +01:00 |
Daniel Marjamäki
|
b25e6ff24c
|
Fixed #2279 ((style) struct of union member is never used)
|
2010-12-05 18:33:53 +01:00 |
Daniel Marjamäki
|
93ebdca313
|
Fixed #2264 (False positive: variable assigned value that is never used)
|
2010-12-03 18:45:49 +01:00 |
Daniel Marjamäki
|
8118e4755a
|
Fixed #2263 (False positive: variable assigned value that is never used)
|
2010-12-02 20:08:05 +01:00 |
Robert Reif
|
f12c0c7ada
|
Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219
|
2010-12-01 18:00:55 +01:00 |
Daniel Marjamäki
|
d250cb5aa2
|
Fixed #2206 (False positive: variable is assigned a value that is never used (array initializers))
|
2010-11-15 17:53:55 +01:00 |
Daniel Marjamäki
|
7b3e7f6467
|
Fixed #2205 (False positive: variable is assigned a value that is never used (assigning to dereferenced casted pointers))
|
2010-11-15 17:30:07 +01:00 |
Zachary Blair
|
36d80d6eaa
|
Fixed #2058 (Warn for unused variable when only doing malloc/free)
|
2010-11-14 17:37:36 -08:00 |
Daniel Marjamäki
|
19f809c9b4
|
Unused variables: better handling of '= %var% ++'. Ticket: #2160
|
2010-11-02 20:01:12 +01:00 |
Daniel Marjamäki
|
558899dc74
|
Variable usage: Fixed false negative that I introduced when simplifying compound assignments
|
2010-10-31 09:34:25 +01:00 |
Daniel Marjamäki
|
23d3fd3a5a
|
Fixed #2147 (uninitialized variable: false negative for 'x += y;')
|
2010-10-31 08:47:13 +01:00 |
Daniel Marjamäki
|
0afd19c59b
|
Fixed #2039 (unions not handled properly, false positive about initialization)
|
2010-09-09 20:15:00 +02:00 |
Daniel Marjamäki
|
9415423352
|
Fixed #2017 (false positive::struct or union member 'Base::m_ui' is never used)
|
2010-09-04 11:21:34 +02:00 |
Daniel Marjamäki
|
8ff1e71b22
|
Fixed #2004 (False positive in 'variable assigned a value but is never used' check)
|
2010-08-31 20:58:37 +02:00 |
Daniel Marjamäki
|
1d78b5072d
|
Fixed #1996 (False positive for 'Variable foo is assigned a value that is never used')
|
2010-08-31 20:33:28 +02:00 |
Daniel Marjamäki
|
71453871d4
|
Fixed #1989 (false positive: Variable 'Aux13' is assigned a value that is never used)
|
2010-08-28 13:32:43 +02:00 |
Daniel Marjamäki
|
83a8879f11
|
Tokenizer::simplifyInitVar : Refactorings and fixes related to ticket #1989
|
2010-08-27 22:58:21 +02:00 |
Robert Reif
|
4a6070d2af
|
fix 2 problems related to ticket 1976:
1. nested unnamed anonymous structures and unions were not supported.
2. declaration split up in class had bug if proceeded by access specifier.
|
2010-08-25 20:17:31 +02:00 |
Daniel Marjamäki
|
ed4f1164a1
|
Fixed #1894 (unreadVariable false positive with const references)
|
2010-08-07 15:53:51 +02:00 |
Robert Reif
|
e86e8449f8
|
Variable usage: better handling of pointer aliasing. Ticket: #1729
|
2010-07-12 09:50:18 +02:00 |
Robert Reif
|
566b4b4beb
|
Variable usage: fixed false positive reported in #1729
|
2010-07-08 08:42:34 +02:00 |
Robert Reif
|
2d6dfa57e1
|
Variable usage: Better aliasing support (Ticket #1729)
|
2010-07-08 08:00:50 +02:00 |
Daniel Marjamäki
|
4ebf4caf66
|
Variable usage: only warn about variables that have variable id > 0
|
2010-07-07 08:50:34 +02:00 |
Daniel Marjamäki
|
2bb07a55bd
|
Fixed #1803 (False positive: unused variable: this)
|
2010-07-07 08:39:18 +02:00 |
Daniel Marjamäki
|
a107cd1b59
|
Fixed #1729 (False positive: variable is assigned a value that is never used (pointer aliasing))
|
2010-07-07 08:26:24 +02:00 |
Robert Reif
|
4668359b51
|
Fixed #1808 (false positive: uninitialized variable with multiple assignment)
|
2010-06-29 08:38:24 +02:00 |
Robert Reif
|
38f90dae09
|
Fixed #1813 (false negative: Member variable not assigned a value in operator=)
|
2010-06-25 07:52:12 +02:00 |
Robert Reif
|
2a1edff77f
|
Fixed #1812 (false negative: functionVariableUsage doesn't support static variables)
|
2010-06-24 17:00:32 +02:00 |
Robert Reif
|
74e48d4bb1
|
Fixed #1732 (False positive: Variable not assigned a value (pointer to pointer))
|
2010-06-23 06:54:14 +02:00 |
Robert Reif
|
a5b45a7f83
|
Fixed #1807 (false positive: Variable is not assigned a value (casting function parameters))
|
2010-06-22 17:04:11 +02:00 |
Robert Reif
|
bdd28b47aa
|
Fixed #1799 (false positive: Variable is assigned a value that is never used)
|
2010-06-21 18:12:01 +02:00 |
Robert Reif
|
81403479bd
|
Refactoring testunusedvariables. This fixes #1804.
|
2010-06-18 07:19:26 +02:00 |
Robert Reif
|
ee7ad272d6
|
variable usage: fix false positives when __attribute__ is used. Ticket: #1792
|
2010-06-16 18:04:31 +02:00 |
Robert Reif
|
7dba21858a
|
simplify the alias handling in the checking of variable usage. Ticket: #1729
|
2010-06-16 18:00:21 +02:00 |
Robert Reif
|
98ae660260
|
Fixed #1792 (false positive: Variable 'test' is assigned a value that is never used)
|
2010-06-14 15:46:57 +02:00 |
Robert Reif
|
3d2c28a524
|
Fixed #1784 (false positive: Variable is not assigned a value)
|
2010-06-10 07:21:47 +02:00 |
Robert Reif
|
00dcec47ac
|
Variable usage: read variable when using syntax '..=*(p);'
|
2010-06-08 18:26:14 +02:00 |
Robert Reif
|
f37a7ba934
|
Variable usage: Added TODO testcases for handling pointer alias. Ticket: #1729
|
2010-06-06 20:37:48 +02:00 |
Robert Reif
|
4c4844b722
|
Fixed #1723 (Variable assigned value which is never used but is thrown)
|
2010-06-03 07:05:57 +02:00 |
Daniel Marjamäki
|
cb43168d81
|
Fixed #1720 (segmentation fault of cppcheck)
|
2010-06-02 18:10:32 +02:00 |
Daniel Marjamäki
|
a8f38e55dc
|
Added unit test for ticket #1720
|
2010-06-01 20:00:43 +02:00 |
Robert Reif
|
176b41caa5
|
Fixed #1709 (char buffer that is only accessed with pointers is marker not assigned)
|
2010-05-26 19:22:35 +02:00 |
Robert Reif
|
048733a15e
|
false positive: Variable is assigned a value that is never used
|
2010-05-23 10:41:05 +02:00 |
Robert Reif
|
be35b72c7e
|
Fixed #1660 (false positive: Variable is assigned a value that is never used, when using cast)
|
2010-05-09 07:15:40 +02:00 |
Robert Reif
|
87a54580a8
|
Added unit test for #5
|
2010-05-09 07:10:51 +02:00 |
Daniel Marjamäki
|
95f3533252
|
Robert Reif <reif@earthlink.net>
refactoring chained assignments
|
2010-05-05 19:34:03 +02:00 |
Robert Reif
|
4c95264d29
|
Fixed #1647 (False positive: buffer is not assigned value (assigned through alias))
|
2010-05-05 17:31:07 +02:00 |