Opened 14 years ago
Closed 14 years ago
#10303 closed Patch - Bug Fix (Fixed)
Proposed cppcheck error suppression
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | trivial | Milestone: | unknown |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
While cppcheck is a wonderful tool, it sometimes gets it wrong.
This proposed patch adds in the cppcheck hint to a code segment that says in the comments that cl is not leaking. If cl is not leaking, we do not want the cppcheck message.
For this patch to be useful, one will also need to change the invocation of cppcheck to include the "--inline-suppr" flag.
There are more cppcheck errors/warnings that should probably be suppressed if this approach is accepted.
Attachments (1)
Change History (3)
by , 14 years ago
| Attachment: | cppcheck-suppress.patch added |
|---|
comment:1 by , 14 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 14 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |
Gary, I decided to suppress this with the suppressions.txt for now.
Note:
See TracTickets
for help on using tickets.

Proposed patch to suppress cppcheck error