From a7f0e25dafa90bd21b01c38cb0782ade54b75cdc Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 30 Dec 2015 16:05:52 -0500 Subject: [PATCH] Remove unused HB_SHAPER_DATA_ENSURE_DECLARE lines. The coretext_aat shaper delegates to the regular coretext_..._ensure() functions, so coretext_aat_..._ensure() functions defined by these macros are unused. The compiler warns about them, which in turn can confuse people to think that the coretext_aat_..._ensure() functions weren't called by accident. --- src/hb-coretext.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 16a3e6517..316d281ea 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -1128,10 +1128,6 @@ fail: * AAT shaper */ -HB_SHAPER_DATA_ENSURE_DECLARE(coretext_aat, face) -HB_SHAPER_DATA_ENSURE_DECLARE(coretext_aat, font) - - /* * shaper face data */