From a5c2276965907bd33b539060b1a008e59d4d92f3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 15 Dec 2020 15:22:51 +0100 Subject: [PATCH] Remove unused retain count variable in wxOSX font code This fixes a -Wunused-variable which broke the CI builds. --- src/osx/carbon/font.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osx/carbon/font.cpp b/src/osx/carbon/font.cpp index b8db24c946..76888bbb7b 100644 --- a/src/osx/carbon/font.cpp +++ b/src/osx/carbon/font.cpp @@ -788,7 +788,6 @@ void wxNativeFontInfo::InitFromFontDescriptor(CTFontDescriptorRef desc) Init(); m_descriptor.reset(wxCFRetain(desc)); - int count = CFGetRetainCount(desc); m_ctWeight = GetCTWeight(desc); m_ctWidth = GetCTwidth(desc);