From 0f0b2ece38de61be28df270a27d1c959e44336d6 Mon Sep 17 00:00:00 2001 From: Zhong Li Date: Mon, 20 Nov 2017 04:14:32 -0500 Subject: [PATCH] lavu/qsv: remove unused variable Fixes build warning of "variable 's' is declared but not used" Signed-off-by: Zhong Li Signed-off-by: Mark Thompson --- libavutil/hwcontext_qsv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 8e43420e70..9b6040ba9e 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -989,7 +989,6 @@ static int qsv_device_derive_from_child(AVHWDeviceContext *ctx, int flags) { AVQSVDeviceContext *hwctx = ctx->hwctx; - QSVDeviceContext *s = ctx->internal->priv; mfxVersion ver = { { 3, 1 } }; mfxHDL handle;