From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E71AF4891C for ; Thu, 21 Dec 2023 12:35:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E4B4968D19F; Thu, 21 Dec 2023 14:35:00 +0200 (EET) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6166468D11C for ; Thu, 21 Dec 2023 14:34:53 +0200 (EET) Received: by mail-io1-f45.google.com with SMTP id ca18e2360f4ac-7b7f6097355so24524739f.2 for ; Thu, 21 Dec 2023 04:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703162091; x=1703766891; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=TJf53c8/O3fxp9mza/vygCzVNF/7Q6rFmNXFvKbZfyg=; b=hEcQWcy5gOnC4x47VfCMRvQoAeCXUw9PgSwiTXU6DlluXC8GP3nSZ2kOv4kfCU8V4y V+sqS3/iEO3yGTonxybA3f1+0Js3MFg61C6UlMmh3/B905lFc4+uI253Gc6yr5iGN92v xvMdtL6/b9NE3DfZpSlx3uRMQvW+RqJnhrShsME1JoO+A/1vL4x6GtVqUmhKSLSvQJl2 /3gNuNMGpxWYC/PkMGb3wkK5hkJM3ZOtTwWtSJTnVowTne4S3Wan+pe6R2pAJpZ4NJ4R /2bf216O/TdY67MWlU5rkwSdhTajhN4gTrdJne774ZdhgTLexMVcl2rh0TlG3ZXE5aKw kZKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703162091; x=1703766891; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TJf53c8/O3fxp9mza/vygCzVNF/7Q6rFmNXFvKbZfyg=; b=UO2EVW1NGUDhgIvmcrwAzTnukntTcfArZPdd7S+bYic5ii49Wt9Ifmx1FPzgBhK587 U/uDSdIBWkOsRlhJDp7EOM8tu2q5P/BWWp0PhobT2orHEU2/9IEZlKuYRzisSbqYsY97 vMI5N2u3/ua/tzXFEb9wQHuFWc9gAHikAGMumZwzhbrqnGtG/h+F/JHeq9FZeliZ3q87 etlzZIhPo89cliMsgu2uq2Kpwtf6uG0B5YJB5JxIFFevpdr5Hbqhz6HsavHhTlm803if CDdG3zD5pnXf3oWEyf/cPlQVeTC7iUbfgU+876lEsM+nTJr+Qv/cUQl1knUnxA3CVInF CAPg== X-Gm-Message-State: AOJu0Yxlql44RvL5EMvHT9dNMXTXG9MQiBOafMwM+/ehcTrCdktSIp6f 6N5zOYnftV58cMZ2eLpHXX+Bm6FmIjE= X-Google-Smtp-Source: AGHT+IGJGaQkrvpt5h1Cv88YzLp2xY0Q81pjdvZA2ByxHruMS1FDzaQHW/glPs3bFIpLLDD6Zxwz8A== X-Received: by 2002:a5d:9f19:0:b0:7b7:ad0d:31cb with SMTP id q25-20020a5d9f19000000b007b7ad0d31cbmr10798392iot.33.1703162091165; Thu, 21 Dec 2023 04:34:51 -0800 (PST) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id e17-20020a630f11000000b005c6007a13b5sm1420653pgl.25.2023.12.21.04.34.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 04:34:50 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 21 Dec 2023 09:34:53 -0300 Message-ID: <20231221123453.8125-3-jamrial@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221123453.8125-1-jamrial@gmail.com> References: <20231221123453.8125-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] avutil/hwcontext_d3d12va: remove unused variables X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Removes -Wunused-variable warnings. Signed-off-by: James Almer --- Were this meant to be used? Or are just a remnant of a previous interation of the set? libavutil/hwcontext_d3d12va.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavutil/hwcontext_d3d12va.c b/libavutil/hwcontext_d3d12va.c index 4ce29f250c..46832fd19b 100644 --- a/libavutil/hwcontext_d3d12va.c +++ b/libavutil/hwcontext_d3d12va.c @@ -173,7 +173,6 @@ fail: static void d3d12va_frames_uninit(AVHWFramesContext *ctx) { - AVD3D12VAFramesContext *frames_hwctx = ctx->hwctx; D3D12VAFramesContext *s = ctx->internal->priv; D3D12_OBJECT_RELEASE(s->sync_ctx.fence); @@ -281,8 +280,6 @@ fail: static int d3d12va_frames_init(AVHWFramesContext *ctx) { AVD3D12VAFramesContext *hwctx = ctx->hwctx; - AVD3D12VADeviceContext *device_hwctx = ctx->device_ctx->hwctx; - D3D12VAFramesContext *s = ctx->internal->priv; int i; for (i = 0; i < FF_ARRAY_ELEMS(supported_formats); i++) { @@ -335,7 +332,6 @@ static int d3d12va_transfer_get_formats(AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats) { - D3D12VAFramesContext *s = ctx->internal->priv; enum AVPixelFormat *fmts; fmts = av_malloc_array(2, sizeof(*fmts)); -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".