streamts: avoid compiler warnings

Origin commit data
------------------
Commit: 02ac2e2a85
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-09-09 (Fri, 09 Sep 2022)

Origin message was:
------------------
- streamts: avoid compiler warnings
This commit is contained in:
vanhofen
2022-09-09 23:05:39 +02:00
parent 25c4e3f74c
commit f1bf28db2f

View File

@@ -502,6 +502,9 @@ bool CStreamManager::Parse(int fd, stream_pids_t &pids, t_channel_id &chid, CFro
void CStreamManager::AddPids(int fd, CZapitChannel *channel, stream_pids_t &pids, bool send_raw) void CStreamManager::AddPids(int fd, CZapitChannel *channel, stream_pids_t &pids, bool send_raw)
{ {
// avoid compiler warning
(void) fd;
if (pids.empty()) { if (pids.empty()) {
printf("CStreamManager::AddPids: searching channel %" PRIx64 " pids\n", channel->getChannelID()); printf("CStreamManager::AddPids: searching channel %" PRIx64 " pids\n", channel->getChannelID());
if (channel->getVideoPid()) if (channel->getVideoPid())