From 180e35a175473c272c1dddf03b9b21e3f6d70119 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 23 Mar 2015 18:09:40 +0100 Subject: vdpau: remove dead assignment I guess we don't really care whether this particular function succeeds. If it fails, it must be completely broken anyway and it would not matter much to us. --- video/vdpau.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/video/vdpau.c b/video/vdpau.c index b55152b146..4ff3d6905a 100644 --- a/video/vdpau.c +++ b/video/vdpau.c @@ -164,8 +164,7 @@ static int win_x11_init_vdpau_procs(struct mp_vdpau_ctx *ctx) ctx->vdp = vdp; ctx->get_proc_address = get_proc_address; - vdp_st = vdp.preemption_callback_register(ctx->vdp_device, - preemption_callback, ctx); + vdp.preemption_callback_register(ctx->vdp_device, preemption_callback, ctx); return 0; } -- cgit v1.2.3