--- a/hedgewars/avwrapper/avwrapper.c Sat Jul 21 15:58:07 2018 +0200
+++ b/hedgewars/avwrapper/avwrapper.c Sun Jul 22 02:29:44 2018 +0200
@@ -35,6 +35,8 @@
#define AVWRAP_DECL
#endif
+#define UNUSED(x) (void)(x)
+
static AVFormatContext* g_pContainer;
static AVOutputFormat* g_pFormat;
static AVStream* g_pAStream;
@@ -138,6 +140,9 @@
// (there is mutex in AddFileLogRaw).
static void LogCallback(void* p, int Level, const char* pFmt, va_list VaArgs)
{
+ UNUSED(p);
+ UNUSED(Level);
+
char Buffer[1024];
vsnprintf(Buffer, 1024, pFmt, VaArgs);