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 |
Zachary Blair
|
10a4dde105
|
Fixed #2137 (Invalid mutual exclusion report)
|
2010-11-04 00:10:25 -07:00 |
Daniel Marjamäki
|
14803643ca
|
empty string test: Removed this check
|
2010-11-03 17:56:14 +01:00 |
Daniel Marjamäki
|
19f809c9b4
|
Unused variables: better handling of '= %var% ++'. Ticket: #2160
|
2010-11-02 20:01:12 +01:00 |
Daniel Marjamäki
|
1e866c3235
|
Visual Studio: Fixed compiler error
|
2010-10-31 11:42:45 +01:00 |
Daniel Marjamäki
|
bc283d8b99
|
Uninitialized variables: Broke out the checking into separate file
|
2010-10-31 12:31:11 +01:00 |
Daniel Marjamäki
|
df8a93bf97
|
Null pointers: Broke out the checking into separate file
|
2010-10-31 11:51:25 +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
|
9435fde551
|
Tokenizer: Added function for checking if code is Java/C#
|
2010-10-28 18:51:55 +02:00 |
Daniel Marjamäki
|
995e39200b
|
Fixed #2130 (Invalid possible NULL pointer dereference, etc.)
|
2010-10-27 20:20:10 +02:00 |
Daniel Marjamäki
|
fc98bcdcb2
|
Fixed #2141 (false positive: possible null pointer dereference)
|
2010-10-27 19:42:47 +02:00 |
Daniel Marjamäki
|
fd153eac02
|
Fixed #2142 (false positive: null pointer dereference (throw))
|
2010-10-27 19:38:42 +02:00 |
Daniel Marjamäki
|
9370f552ac
|
Fixed #2134 (sizeof(*list) complains of null pointer dereference)
|
2010-10-26 18:26:02 +02:00 |
Daniel Marjamäki
|
893f7fa347
|
Fixed #2130 (Invalid possible NULL pointer dereference, etc.)
|
2010-10-26 17:40:30 +02:00 |
Daniel Marjamäki
|
bdd6d6d53d
|
null pointer: use simplified token list in the 'check and deref' checking
|
2010-10-25 21:05:43 +02:00 |
Daniel Marjamäki
|
132aa8d0c4
|
uninitialized variables: fixed fp when analysing loops
|
2010-10-25 20:56:15 +02:00 |
Daniel Marjamäki
|
026514db1a
|
Fixed #2127 (null pointer dereference after condition (SRD nr 522))
|
2010-10-25 19:43:54 +02:00 |
Zachary Blair
|
26afb04dc5
|
Fixed #2105 (Incorrect operator: mutual exclusion over ||)
|
2010-10-24 18:14:21 -07:00 |
Daniel Marjamäki
|
8f707e5e46
|
Null pointers: Better handling of loops
|
2010-10-24 18:51:14 +02:00 |
Daniel Marjamäki
|
40aeb17738
|
uninitialized variables: handling loop bodies. end upon '}'
|
2010-10-24 18:28:25 +02:00 |
Daniel Marjamäki
|
6601de7681
|
uninitialized variables: refactoring handling of loop bodies
|
2010-10-24 18:26:59 +02:00 |
Daniel Marjamäki
|
b66d3c8858
|
Fixed #2125 (uninitialized variable: better handling of for loops)
|
2010-10-24 18:12:48 +02:00 |
Daniel Marjamäki
|
13b8544436
|
Visual Studio: Fixed compiler warning. Ticket: #2123
|
2010-10-24 11:52:28 +02:00 |