fix compiler warning, thx DboxOldie

Origin commit data
------------------
Commit: 4f6ee19f0d
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-03-13 (Wed, 13 Mar 2019)
This commit is contained in:
Frankenstone
2019-03-13 17:57:52 +01:00
committed by vanhofen
parent de759a90d1
commit 18f06b61ef

View File

@@ -423,7 +423,7 @@ static std::string fribidi_shape_char(const char * text)
if (fribidi_log2vis(logical, rtl_len, &fribidi_chartype, visual, NULL, NULL, NULL))
{
// removes bidirectional marks
fribidi_remove_bidi_marks(visual, rtl_len, NULL, NULL, NULL);
FriBidiStrIndex __attribute__ ((unused)) idx = fribidi_remove_bidi_marks(visual, rtl_len, NULL, NULL, NULL);
rtl_text = (char *)alloca(sizeof(char)*(rtl_len * 4 + 1));
fribidi_unicode_to_charset(fribidi_charset, visual, rtl_len, rtl_text);