summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Hurlbut <ghurlbut@mythtv.org>2010-11-19 03:34:54 (GMT)
committer Gavin Hurlbut <ghurlbut@mythtv.org>2010-11-19 03:34:54 (GMT)
commit6b4419e2e966f8e4a232c9fe1141ffdd7ebef1d9 (patch)
tree0e330be621a3e1797a3c2c4ae62a0af6fdaddb10
parent5ea088f7c808c9a7bd1fe96acc6c4a3d4e73715c (diff)
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
-rw-r--r--mythtv/libs/libmythui/mythuibuttonlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythui/mythuibuttonlist.cpp b/mythtv/libs/libmythui/mythuibuttonlist.cpp
index d1d89b9..0690b50 100644
--- a/mythtv/libs/libmythui/mythuibuttonlist.cpp
+++ b/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;