forked from enlightenment/efl
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:
parent
f7fd1f1c84
commit
b67860e98f
|
@ -271,9 +271,6 @@ eina_convert_atod(const char *src, int length, long long *m, long *e)
|
||||||
exponent += *str - '0';
|
exponent += *str - '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (length < 0)
|
|
||||||
goto on_length_error;
|
|
||||||
|
|
||||||
if (sign < 0)
|
if (sign < 0)
|
||||||
exponent = -exponent;
|
exponent = -exponent;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue