[mythtv-commits] Ticket #11571: Patch to initialize chanid in mythtranscode (static analysis false positive)

MythTV noreply at mythtv.org
Thu May 30 23:13:12 UTC 2013


#11571: Patch to initialize chanid in mythtranscode (static analysis false
positive)
-------------------------------------+-------------------------------------
 Reporter:  Gary Buhrmaster          |           Type:  Patch - Bug Fix
  <gary.buhrmaster@…>                |       Priority:  trivial
   Status:  new                      |      Component:  MythTV -
Milestone:  unknown                  |  Mythtranscode
  Version:  Master Head              |       Severity:  low
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-------------------------------------
 Static analysis (scan-build) detects that the variable chanid could be
 used without initialization.  This appears to actually be a false
 positive, since the use is protected by the found_chanid variable, but
 initializing the variable should be benign, and closes the scan-build
 static analysis issue.

 Patch:
 https://github.com/garybuhrmaster/mythtv/commit/49617bc0c174be8b58e37ded693aa8d037ba7975

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11571>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list