eina: remove logically dead code.

The for loop above would exit with at least length = 0, so < 0 is
just impossible.

CID 1039943.
This commit is contained in:
Cedric BAIL 2014-06-05 03:10:43 +02:00
parent f7fd1f1c84
commit b67860e98f
1 changed files with 0 additions and 3 deletions

View File

@ -271,9 +271,6 @@ eina_convert_atod(const char *src, int length, long long *m, long *e)
exponent += *str - '0';
}
if (length < 0)
goto on_length_error;
if (sign < 0)
exponent = -exponent;