fix compiler warning, thx DboxOldie

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4f6ee19f0d
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-03-13 (Wed, 13 Mar 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Frankenstone
2019-03-13 17:57:52 +01:00
committed by vanhofen
parent 0fc702f6d4
commit 9d6afd77eb

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);