Skip to content

Commit

Permalink
OSX: Fix a couple of unused variable warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Jan 11, 2019
1 parent f0bbce6 commit 25a35b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythmedia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ MythMediaError MythMediaDevice::eject(bool open_close)
#if CONFIG_DARWIN
QString command = "diskutil eject " + m_DevicePath;

int ret = myth_system(command, kMSRunBackground);
myth_system(command, kMSRunBackground);
return MEDIAERR_OK;
#endif

Expand Down
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/avformatdecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2541,6 +2541,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
if (version && FlagIsSet(kDecodeAllowGPU))
{
bool foundgpudecoder = false;
Q_UNUSED(foundgpudecoder); // Prevent warning if no GPU decoders

#ifdef USING_VDPAU
MythCodecID vdpau_mcid;
Expand Down

0 comments on commit 25a35b3

Please sign in to comment.