From e4b4cf3344e94c03914dd0b12214044b3266a471 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 30 Jan 2011 10:35:10 +0000 Subject: [PATCH] Evas font-engine: suppress warnings when BiDi is disabled. SVN revision: 56442 --- legacy/evas/src/lib/engines/common/evas_font_query.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/legacy/evas/src/lib/engines/common/evas_font_query.c b/legacy/evas/src/lib/engines/common/evas_font_query.c index 4446df6eeb..edcdddf0b3 100644 --- a/legacy/evas/src/lib/engines/common/evas_font_query.c +++ b/legacy/evas/src/lib/engines/common/evas_font_query.c @@ -174,6 +174,10 @@ evas_common_font_query_advance(RGBA_Font *fn, const Eina_Unicode *text, const Ev RGBA_Font_Int *fi; EVAS_FONT_WALK_TEXT_INIT(); _INIT_FI_AND_KERNING(); +#ifndef BIDI_SUPPORT + /* Suppress warnings */ + (void) intl_props; +#endif EVAS_FONT_WALK_TEXT_START() { @@ -407,6 +411,10 @@ evas_common_font_query_char_at_coords(RGBA_Font *fn, const Eina_Unicode *in_text RGBA_Font_Int *fi; EVAS_FONT_WALK_TEXT_INIT(); _INIT_FI_AND_KERNING(); +#ifndef BIDI_SUPPORT + /* Suppress warnings */ + (void) intl_props; +#endif #ifdef BIDI_SUPPORT int len = 0;