[mythtv-commits] Ticket #11553: Patch for (potential) uninitalized variable num_lines in mythuitext.cpp

MythTV noreply at mythtv.org
Mon May 27 00:34:39 UTC 2013


#11553: Patch for (potential) uninitalized variable num_lines in mythuitext.cpp
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  stuartm
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Unspecified
    Component:  MythTV - User Interface Library  |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 Static analysis (scan-build) indicates that there is a feasible code path
 in LayoutParagraphs (called in GetNarrowWidth) which will not result in
 calling Layout which will initialize the variable num_lines.  Initialize
 the variable num_lines just in case (and make the analyzer happy).

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

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


More information about the mythtv-commits mailing list