Remove unused HB_SHAPER_DATA_ENSURE_DECLARE lines.
authorNico Weber <nicolasweber@gmx.de>
Wed, 30 Dec 2015 21:05:52 +0000 (16:05 -0500)
committerNico Weber <nicolasweber@gmx.de>
Wed, 30 Dec 2015 21:05:52 +0000 (16:05 -0500)
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

index 16a3e65..316d281 100644 (file)
@@ -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
  */