Debrard Sébastien
|
27dce075e0
|
Fixed #155 (check size of a variable whose type is a sized array)
|
2011-01-22 19:21:56 +01:00 |
Robert Reif
|
d73709a620
|
Symbol database: rename variables. ticket: #2468
|
2011-01-21 07:42:41 +01:00 |
Daniel Marjamäki
|
ecac93ebed
|
Fixed #2462 (false positive: (warning) Redundant code: Found a statement that begins with numeric constant)
|
2011-01-19 18:37:33 +01:00 |
Daniel Marjamäki
|
965c1a94fd
|
Fixed #2475 (False positive in structure initialisation: The scope of the variable bits can be reduced)
|
2011-01-17 20:51:15 +01:00 |
Robert Reif
|
959e10cee5
|
Symbol database: renamed classes. ticket: #2468
|
2011-01-17 18:29:19 +01:00 |
Robert Reif
|
bf9528558e
|
Symbol database: pulled out classes into global scope. ticket: #2468
|
2011-01-17 07:21:59 +01:00 |
Zachary Blair
|
481907ef14
|
Fixed #2457 (CheckOther::checkIncorrectLogicOperator: hang if variable id is 0)
|
2011-01-16 13:57:29 -08:00 |
Daniel Marjamäki
|
93d1313186
|
Refactoring: Check if type is class/struct through symbol database
|
2011-01-16 19:57:29 +01:00 |
Daniel Marjamäki
|
e6a1efa13b
|
Fixed #2302 (Duplicate id 'unusedVariable')
|
2011-01-16 18:45:05 +01:00 |
Robert Reif
|
d341b42b0c
|
Symbol database: increased constness. ticket: #2468
|
2011-01-16 18:13:54 +01:00 |
Daniel Marjamäki
|
bb2862bc97
|
fixed unit test
|
2011-01-15 21:04:20 +01:00 |
Daniel Marjamäki
|
94ebb24d3d
|
Optimising: about 5% improvement with Visual Studio executable
|
2011-01-15 20:55:51 +01:00 |
Daniel Marjamäki
|
36c1807228
|
Fixed #2458 (false positive: (warning) Redundant code: Found a statement that begins with numeric constant)
|
2011-01-13 20:12:57 +01:00 |
Reijo Tomperi
|
226b605774
|
Change year 2010 -> 2011 in license texts.
|
2011-01-09 21:33:36 +02:00 |
Daniel Marjamäki
|
d758929490
|
Fixed #2433 (strtol: false positive when strtol isn't used in function call)
|
2011-01-08 09:23:51 +01:00 |
Daniel Marjamäki
|
37b1f7c296
|
memsetZeroBytes: improved error message. ticket: #2421
|
2011-01-06 16:27:22 +01:00 |
Raphael Geissert
|
6ec4497919
|
[PATCH] Check for calls to memset() where 0 bytes are to be filled
Inspired by Silvio Cesare's work
|
2011-01-06 11:31:58 +01:00 |
Daniel Marjamäki
|
033e759c39
|
command line: added 'information' id to enable
|
2011-01-05 21:20:21 +01:00 |
Zachary Blair
|
68700b3561
|
Fixed #2382 (Catching exceptions by value instead of reference)
|
2010-12-31 12:48:24 -08:00 |
Zachary Blair
|
d11b5163b7
|
Fixed #2382 (Catching exceptions by value instead of reference)
|
2010-12-31 03:01:38 -08:00 |
Daniel Marjamäki
|
fd27be2440
|
Fixed #2372 (internal error in logicaloperator check (varid=0))
|
2010-12-29 10:07:28 +01:00 |
Kimmo Varis
|
e8b81f909d
|
Change 'Scope of variable'-message to information message.
|
2010-12-27 16:48:03 +02:00 |
Daniel Marjamäki
|
660de98c0c
|
Fixed #2365 (Internal error: Token::Match called with varid 0)
|
2010-12-27 14:06:32 +01:00 |
Kimmo Varis
|
ad89a84796
|
Improve error message about overlapping buffers for s[n]printf().
See forum thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0
|
2010-12-26 23:44:01 +02:00 |
Daniel Marjamäki
|
ecad249ae2
|
Fixed #2346 (False positive: pointer is assigned value that is never used. used here: 'pCol = pCol->GetNext()')
|
2010-12-25 19:17:53 +01:00 |
Daniel Marjamäki
|
81c5576eb4
|
Misused scope objects: Don't use this check if the checked file is a pure C file. Ticket: #2352
|
2010-12-25 08:43:52 +01:00 |
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 |
Robert Reif
|
a2aa601899
|
CheckOther: Use SymbolDatabase. Ticket: #2318
|
2010-12-18 20:35:40 +01:00 |
Robert Reif
|
f2d69acbfd
|
Symbol database: reuse in CheckOther. Ticket: #2318
|
2010-12-16 19:04:47 +01:00 |
vBm
|
46a11183a5
|
Fixed some spelling mistakes
|
2010-12-15 18:45:53 +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 |
Kimmo Varis
|
8d8945ac57
|
Improve "Assert statement 'varname' -message.
Modifying the message so that we have short message and verbose
message. As discussed in dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-11-29 20:12:21 +02:00 |
Kimmo Varis
|
564d896715
|
Run astyle.
|
2010-11-28 23:29:06 +02:00 |
Kimmo Varis
|
85735e382f
|
Improve the 'suspicious code sizeof sizeof' -message.
As discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-11-28 14:20:46 +02:00 |
Kimmo Varis
|
2c3f9a9dce
|
Small fix to error message.
Start with capital letter and no space in beginning.
|
2010-11-27 20:41:08 +02:00 |
Kimmo Varis
|
837605b05b
|
Ticket #2239 (Too long "short" message about function parameter passing)
Have a proper short message for the parameter passing warning and
improve the message.
|
2010-11-27 10:46:34 +02:00 |
Zachary Blair
|
215cb5ac8d
|
Fixed #2162 (false positive: Mutual exclusion over ||)
|
2010-11-21 00:06:43 -08:00 |
Daniel Marjamäki
|
d021cd9074
|
VS: fixed compiler warning. Ticket: #2200
|
2010-11-20 11:28:47 +01:00 |
Daniel Marjamäki
|
fd64a7e683
|
Mutual exclusion: Disable this check until #2162 is fixed.
|
2010-11-20 07:43:07 +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
|
ba7a3b376e
|
Fixed #2167 (Drop linefeeds from error messages)
|
2010-11-11 19:54:43 +01:00 |
Daniel Marjamäki
|
27b7638901
|
Visual Studio: Fixed compiler warnings about assignment in condition
|
2010-11-08 17:29:08 +01:00 |
Daniel Marjamäki
|
06ec4d9a84
|
GCC: Fixed compiler warnings about sign-conversion
|
2010-11-04 20:52:20 +01:00 |