summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-08 10:22:53 +0100
committerwm4 <wm4@nowhere>2014-11-08 10:24:26 +0100
commit9f239464da067b8627c7c2bbd85af3f8fcb2f026 (patch)
tree93251260c821c8341b8b3ad9977a5d30cbce9d43 /player
parent2a5c77df73b721d05e2a1331b79caa5a3a0c4969 (diff)
downloadmpv-9f239464da067b8627c7c2bbd85af3f8fcb2f026.tar.bz2
mpv-9f239464da067b8627c7c2bbd85af3f8fcb2f026.tar.xz
command: silence a warning on win32
Same goal as a change in the #1255 PR, but IMO slightly less ifdefferish.
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 2 insertions, 0 deletions
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
}