summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-11-17 06:56:29 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-11-17 06:56:29 +0200
commit34279a8ce3c02bb744c635bfa9650494a68a333b (patch)
treedb8d24c8fadff55a3cbd2d074ada65ecd57baa6d /libvo/vo_xv.c
parent53ecafadc8bddc68f7cddecd6e4675bcdaf4a8fd (diff)
downloadmpv-34279a8ce3c02bb744c635bfa9650494a68a333b.tar.bz2
mpv-34279a8ce3c02bb744c635bfa9650494a68a333b.tar.xz
cosmetics: remove some unused variables
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 9a030ac71c..7ab087c039 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -196,7 +196,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
uint32_t d_width, uint32_t d_height, uint32_t flags,
char *title, uint32_t format)
{
- struct MPOpts *opts = vo->opts;
struct vo_x11_state *x11 = vo->x11;
XVisualInfo vinfo;
XSetWindowAttributes xswa;
@@ -414,7 +413,6 @@ static void copy_backup_image(struct vo *vo, int dest, int src)
static void check_events(struct vo *vo)
{
struct xvctx *ctx = vo->priv;
- struct vo_x11_state *x11 = vo->x11;
int e = vo_x11_check_events(vo);
if (e & VO_EVENT_EXPOSE || e & VO_EVENT_RESIZE)