termpty: remove useless code

This commit is contained in:
Boris Faure 2018-08-12 19:22:09 +02:00
parent 8276135b50
commit 780e95a8fb
1 changed files with 0 additions and 1 deletions

View File

@ -89,7 +89,6 @@ termpty_handle_buf(Termpty *ty, const Eina_Unicode *codepoints, int len)
if (ty->buf)
{
if (!ty->buf) ty->buf_have_zero = EINA_FALSE;
bytes = (ty->buflen + len + 1) * sizeof(int);
b = realloc(ty->buf, bytes);
if (!b)