about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-18T19·43+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-18T19·43+0100
commit228ea7c2f988523d2c168f97975ab0e85f412e78 (patch)
tree282bf85b252731272f3da562aeb209dbfb12eccd /src/libstore/build.cc
parentcc511fd65b7b6de9e87e72fb4bed16fc7efeb8b7 (diff)
Revert brain fart
This reverts commit cc511fd65b7b6de9e87e72fb4bed16fc7efeb8b7.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 035151bb265e..ce87eaed2f31 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3141,8 +3141,6 @@ void Worker::waitForInput()
         }
     }
 
-    assert(fdMax != 0);
-
     if (select(fdMax, &fds, 0, 0, useTimeout ? &timeout : 0) == -1) {
         if (errno == EINTR) return;
         throw SysError("waiting for input");