diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main.cpp b/src/main.cpp index e745e7cd..03e6000f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -316,21 +316,6 @@ void exit_engine() delete logger; } -/** Check to see if a file exists */ -int exists(const std::string &file) -{ - FILE *fp = NULL; - fp = fopen(file.c_str(), "r"); - if (!fp) - { - return false; - } - else { - fclose(fp); - return true; - } -} - struct Options { Options():printHelp(false),skipUpdate(false) {}; |