Permalink
Browse files

Backport [27296] from trunk

Fixes an uninitialized data item.




git-svn-id: http://svn.mythtv.org/svn/branches/release-0-24-fixes@27297 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
1 parent 5ea088f commit 6b4419e2e966f8e4a232c9fe1141ffdd7ebef1d9 @Beirdo Beirdo committed Nov 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythui/mythuibuttonlist.cpp
@@ -265,7 +265,7 @@ bool MythUIButtonList::DistributeRow(int & first_button, int & last_button,
int max_width, max_height;
int left_width, right_width;
int begin, end;
- bool underflow;
+ bool underflow = false; // keep from being uninitialized
bool added;
bool hsplit, vsplit;
int selectedIdx;

0 comments on commit 6b4419e

Please sign in to comment.