From 21a4c690d3697816ed40655ee7f458277b5b8e8c Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Wed, 30 Mar 2011 17:50:38 +0000 Subject: fixed compilation warnings git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5732 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/DccVideoWindow.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/modules/dcc/DccVideoWindow.cpp') diff --git a/src/modules/dcc/DccVideoWindow.cpp b/src/modules/dcc/DccVideoWindow.cpp index eb03a4ff7..166043a16 100644 --- a/src/modules/dcc/DccVideoWindow.cpp +++ b/src/modules/dcc/DccVideoWindow.cpp @@ -69,17 +69,21 @@ extern DccBroker * g_pDccBroker; bool kvi_dcc_video_is_valid_codec(const char * codecName) { - if(kvi_strEqualCI("sjpeg",codecName))return true; + if(kvi_strEqualCI("sjpeg",codecName)) + return true; #ifndef COMPILE_DISABLE_OGG_THEORA - if(kvi_strEqualCI("theora",codecName))return true; + if(kvi_strEqualCI("theora",codecName)) + return true; #endif return false; } -static DccVideoCodec * kvi_dcc_video_get_codec(const char *codecName) +static DccVideoCodec * kvi_dcc_video_get_codec(const char * codecName) { + Q_UNUSED(codecName); #ifndef COMPILE_DISABLE_OGG_THEORA - if(kvi_strEqualCI("theora",codecName))return new DccVideoTheoraCodec(); + if(kvi_strEqualCI("theora",codecName)) + return new DccVideoTheoraCodec(); #endif return new DccVideoSJpegCodec(); } -- cgit v1.3.1-10-gc9f91