From 9f239464da067b8627c7c2bbd85af3f8fcb2f026 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 8 Nov 2014 10:22:53 +0100 Subject: command: silence a warning on win32 Same goal as a change in the #1255 PR, but IMO slightly less ifdefferish. --- player/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/command.c b/player/command.c index 01988a8251..7df0c8a6c3 100644 --- a/player/command.c +++ b/player/command.c @@ -3668,6 +3668,8 @@ static void replace_overlay(struct MPContext *mpctx, int id, struct overlay *new // Do this afterwards, so we never unmap while the OSD is using it. if (old.osd.bitmap && old.map_size) munmap(old.osd.bitmap, old.map_size); +#else + (void)old; #endif } -- cgit v1.2.3