From 6dbbce8e0582db89c6a69148c73bf0e517f07cbc Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Fri, 23 Aug 2013 11:58:17 -0500 Subject: [PATCH] Remove code relict pointed out by Bernhard. The condition should never be true, it's leftover from my hacking/debugging code. --- src/input/readers/Raw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/readers/Raw.cc b/src/input/readers/Raw.cc index 7e26f8d133..2a890eab4e 100644 --- a/src/input/readers/Raw.cc +++ b/src/input/readers/Raw.cc @@ -433,7 +433,7 @@ int64_t Raw::GetLine(FILE* arg_file) } - if ( errno == 0 || errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR ) + if ( errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR ) return -2; else