From 804f21e42bdc9328ab0f17b983411657e1f6215d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 4 Nov 2022 16:03:02 +0100 Subject: [PATCH] loplugin:unusedvariablecheck apparently a leftover from 643fec7cf7a81bf8c89a8efd47c0310b38f9076c "vcl: add PhysicalFontFace::GetVariations()" Change-Id: I78141d5de4c3f63096552eb25b70da3e5de36df9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142284 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/quartz/ctfonts.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 0adc0bbfef39..f75f8c4c3406 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -279,7 +279,6 @@ std::vector CoreTextFontFace::GetVariations() const if (pAxes) { CFDictionaryRef pVariations = CTFontCopyVariation(pFont); - std::vector aHBVariations; if (pVariations) { CFIndex nAxes = CFArrayGetCount(pAxes);