From 26086b72eefc899c139e05a069b4b2bbbf92524e Mon Sep 17 00:00:00 2001 From: mickenordin Date: Tue, 7 Jun 2016 23:20:58 +0200 Subject: [PATCH] error handling is not for bacteria --- bacteria.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/bacteria.cpp b/bacteria.cpp index e4b5b15..bdfb94d 100644 --- a/bacteria.cpp +++ b/bacteria.cpp @@ -44,9 +44,6 @@ int main(int argc,char** argv) { c = ifile.get(); - if (ifile.fail()) { - break; - } if (byte_counter == rand_byte ) { int insert = rand() % 6; if (insert == 0) {