Put a FIXME where someone doesn't understand alloca.

SVN revision: 49989
This commit is contained in:
Brett Nash 2010-07-02 06:53:41 +00:00
parent b304ae1642
commit 59bbcfbb8a
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ evas_intl_utf8_to_visual(const char *text,
byte_len = strlen(text); /* we need the actual number of bytes, not number of chars */
unicode_in = (FriBidiChar *)alloca(sizeof(FriBidiChar) * (len + 1));
/* FIXME: Alloca never fails */
if (!unicode_in)
{
len = -1;
@ -52,6 +53,7 @@ evas_intl_utf8_to_visual(const char *text,
unicode_in[len] = 0;
unicode_out = (FriBidiChar *)alloca(sizeof(FriBidiChar) * (len + 1));
/* FIXME: Alloca never fails */
if (!unicode_out)
{
len = -1;