[MDEV-9433] [PATCH] cppcheck reported a number of minor coding errors Created: 2016-01-19 Updated: 2016-06-20 Resolved: 2016-06-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 5.5.47, 10.0.23, 10.1.10 |
| Fix Version/s: | 5.5.50 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, patch | ||
| Attachments: |
|
| Sprint: | 5.5.48-0, 5.5.50 |
| Description |
|
cppcheck -DDBUG_VOID_RETURN=return -"DDBUG_RETURN(a)=return a" {sourcedir} |
| Comments |
| Comment by Daniel Black [ 2016-01-20 ] | |||||||||||||||||
|
exists in 5.5 - remove free at line 49 | |||||||||||||||||
| Comment by Daniel Black [ 2016-01-20 ] | |||||||||||||||||
|
Exists in 5.5 https://github.com/MariaDB/server/blob/5.5/plugin/server_audit/server_audit.c#L541 Remove second {{ | |||||||||||||||||
| Comment by Daniel Black [ 2016-01-20 ] | |||||||||||||||||
|
to fix - mariadb-5.5 | |||||||||||||||||
| Comment by Daniel Black [ 2016-01-20 ] | |||||||||||||||||
|
False positives/noise:
needs investigation:
| |||||||||||||||||
| Comment by Vicențiu Ciorbaru [ 2016-06-13 ] | |||||||||||||||||
|
Hi Daniel! We appreciate your contributions. I have investigated each one of the reported warnings. In order of their appearance:
Thanks again for all the help! | |||||||||||||||||
| Comment by Vicențiu Ciorbaru [ 2016-06-14 ] | |||||||||||||||||
|
Pull requests merged. |