Skip to content

Commit

Permalink
removed unneeded catch
Browse files Browse the repository at this point in the history
the bug that can throw this error was removed some time ago.
  • Loading branch information
gfgtdf committed Jun 10, 2014
1 parent 1eee975 commit a1c859a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/game.cpp
Expand Up @@ -774,10 +774,6 @@ int main(int argc, char** argv)
} catch(game::error &) {
// A message has already been displayed.
return 1;
} catch(std::ios::failure &) {
// This is required mainly for when compiling with Microsoft Visual C++ Compiler
// so that the game will not crash with a Runtime Error
return 1;
} catch(std::bad_alloc&) {
std::cerr << "Ran out of memory. Aborted.\n";
return ENOMEM;
Expand Down

0 comments on commit a1c859a

Please sign in to comment.