[mythtv-commits] Ticket #11552: Patch for static analysis detected (potential) uninitialized variable usage in mythcommflag

MythTV noreply at mythtv.org
Sun May 26 23:55:08 UTC 2013


#11552: Patch for static analysis detected (potential) uninitialized variable usage
in mythcommflag
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  cpinkham
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Master Head
    Component:  MythTV - Mythcommflag            |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 Static analysis (scan-build) indicated that there is a feasible code path
 such that the variable currentFrameNumber could be used before assigning
 it a value.  This patch initializes the variable to 0 at declaration.


 https://github.com/garybuhrmaster/mythtv/commit/d2a021c29cf7d8bb4c13dd340654e61b4a16c8da

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


More information about the mythtv-commits mailing list