From 24f3d6defdd96334c20432dd46e7e4faa878493b Mon Sep 17 00:00:00 2001 From: Maxim Sharabayko Date: Fri, 13 Sep 2019 13:29:06 +0200 Subject: [PATCH] [core] Fixed unused vars in CChannel --- srtcore/channel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srtcore/channel.cpp b/srtcore/channel.cpp index 3f3cbc322..816b619db 100644 --- a/srtcore/channel.cpp +++ b/srtcore/channel.cpp @@ -380,7 +380,7 @@ void CChannel::setIpToS(int tos) #endif -int CChannel::ioctlQuery(int type) const +int CChannel::ioctlQuery(int SRT_ATR_UNUSED type) const { #ifdef unix int value = 0; @@ -391,7 +391,7 @@ int CChannel::ioctlQuery(int type) const return -1; } -int CChannel::sockoptQuery(int level, int option) const +int CChannel::sockoptQuery(int SRT_ATR_UNUSED level, int SRT_ATR_UNUSED option) const { #ifdef unix int value = 0;