Skip to content

Commit fb448d6

Browse files
garybuhrmasterstuartm
authored andcommitted
Silence warning about testing a uint for less than zero (detected by clang). Closes #10476
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
1 parent 10a8dba commit fb448d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythui/mythudplistener.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void MythUDPListener::Process(const QByteArray &buf, QHostAddress sender,
109109

110110
if (!msg.isEmpty())
111111
{
112-
if (timeout < 0 || timeout > 1000)
112+
if (timeout > 1000)
113113
timeout = 0;
114114
LOG(VB_GENERAL, LOG_INFO, QString("Received message '%1', timeout %2")
115115
.arg(msg).arg(timeout));

0 commit comments

Comments
 (0)