Skip to content

Commit

Permalink
Fix clang-tidy warnings from mingw commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Sep 7, 2021
1 parent 8899ca5 commit 24669b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions mythtv/libs/libmythbase/mythsystemlegacy.cpp
Expand Up @@ -34,8 +34,6 @@
#include <fcntl.h>
#include <unistd.h>

#include <signal.h>

// QT headers
#include <QCoreApplication>

Expand Down
10 changes: 6 additions & 4 deletions mythtv/programs/mythbackend/services/channel.cpp
Expand Up @@ -189,10 +189,12 @@ bool Channel::UpdateDBChannel( uint MplexID,
if (HAS_PARAM("useeit"))
channel.m_useOnAirGuide = UseEIT;

#ifndef _WIN32 // TODO Does not compile on Windows
if (HAS_PARAM("extendedvisible"))
channel.m_visible = channelVisibleTypeFromString(ExtendedVisible);
#endif
if (HAS_PARAM("extendedvisible"))
{
#ifndef _WIN32 // TODO Does not compile on Windows
channel.m_visible = channelVisibleTypeFromString(ExtendedVisible);
#endif
}
else if (HAS_PARAM("visible"))
{
if (channel.m_visible == kChannelVisible ||
Expand Down

0 comments on commit 24669b2

Please sign in to comment.