eina: fix compilation on OpenBSD/Windows of eina_btlog

We only care whether the process terminated successfully or not.
Non-zero values will be anything but a success, so we don't even care
about the exit code of the program.

This should fix compiling on OpenBSD (where WEXITSTATUS needed
to be defined by including a system header) as well on Windows.

Fixes T3733
This commit is contained in:
Jean Guyomarc'h 2016-06-02 00:09:27 +02:00
parent 098aa1615f
commit 45b12224ec
1 changed files with 0 additions and 1 deletions

View File

@ -277,7 +277,6 @@ _translation_function_detect(const Translation_Desc *desc)
if (p)
{
ret = pclose(p);
ret = WEXITSTATUS(ret);
if (ret == 0)
{
_translate = d->func;