From 0c07e82136133aef14a5caf6f11da0c1a6dc72fb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 Mar 2013 19:16:59 +0100 Subject: w32_common: remove unused variable The depth was printed in verbose mode. Completely useless. --- video/out/w32_common.c | 6 ++---- video/out/w32_common.h | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'video') diff --git a/video/out/w32_common.c b/video/out/w32_common.c index ca3d8a7cc5..031bd0be67 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -384,7 +384,6 @@ static void updateScreenProperties(struct vo *vo) vo->opts->vo_screenwidth = dm.dmPelsWidth; vo->opts->vo_screenheight = dm.dmPelsHeight; - w32->depthonscreen = dm.dmBitsPerPel; w32_update_xinerama_info(vo); } @@ -627,9 +626,8 @@ int vo_w32_init(struct vo *vo) updateScreenProperties(vo); - mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d with depth %d\n", - vo->opts->vo_screenwidth, vo->opts->vo_screenheight, - w32->depthonscreen); + mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d\n", + vo->opts->vo_screenwidth, vo->opts->vo_screenheight); return 1; } diff --git a/video/out/w32_common.h b/video/out/w32_common.h index 63a7d19fc9..a71ccaa661 100644 --- a/video/out/w32_common.h +++ b/video/out/w32_common.h @@ -26,8 +26,6 @@ struct vo_w32_state { HWND window; - int depthonscreen; - // last non-fullscreen extends (updated only on fullscreen or on initialization) int prev_width; int prev_height; -- cgit v1.2.3