Skip to content

Commit

Permalink
Just fix a few unused variables warnings..
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.mythtv.org/svn/trunk@347 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
Isaac Richards committed Nov 3, 2002
1 parent 9474c91 commit ee20aac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mythtv/libs/libmythtv/osd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@ void OSD::SetInfoText(const QString &text, const QString &subtitle,
const QString &callsign, const QString &iconpath,
int length)
{
QString tmp = category;
tmp = start;
tmp = end;

pthread_mutex_lock(&osdlock);
OSDSet *container = GetSet("program_info");
if (container)
Expand Down Expand Up @@ -587,6 +591,8 @@ void OSD::SetInfoText(const QString &text, const QString &subtitle,
void OSD::StartPause(int position, bool fill, QString msgtext,
QString slidertext, int displaytime)
{
fill = fill;

pthread_mutex_lock(&osdlock);
OSDSet *container = GetSet("status");
if (container)
Expand Down
6 changes: 6 additions & 0 deletions mythtv/libs/libmythtv/osdtypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,12 @@ void OSDTypePositionRectangle::Draw(unsigned char *screenptr, int vid_width,
int vid_height, int fade, int maxfade,
int xoff, int yoff)
{
vid_height = vid_height;
fade = fade;
maxfade = maxfade;
xoff = xoff;
yoff = yoff;

if (m_curposition < 0 || m_curposition >= m_numpositions)
return;

Expand Down

0 comments on commit ee20aac

Please sign in to comment.