[mythtv-commits] Ticket #10303: Proposed cppcheck error suppression
MythTV
noreply at mythtv.org
Thu Feb 2 12:11:57 UTC 2012
#10303: Proposed cppcheck error suppression
---------------------------------------+----------------------------------
Reporter: gary.buhrmaster@… | Type: Patch - Bug Fix
Status: new | Priority: trivial
Milestone: unknown | Component: MythTV - General
Version: Unspecified | Severity: low
Keywords: | Ticket locked: 0
---------------------------------------+----------------------------------
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.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10303>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list