From f227182713176db377e6d744b82a8a6079a89941 Mon Sep 17 00:00:00 2001 From: Username404 Date: Wed, 29 Sep 2021 18:18:37 +0200 Subject: [PATCH] Remove a condition that is useless because of 29a6eb3e --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 544c13d..92d9d98 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,7 +28,7 @@ int main(int argc, char* argv[]) { else if (currentArg == Argument("parallel")) parallel = true; else if (currentArg == Argument("newlinesoff")) newLines = false; else if (currentArg.ends_with(".ybcon")) files.insert(currentArg); - else if (i > 0) { + else { cout << '"' << currentArg << "\" is not a valid argument." << endl; exit(EXIT_FAILURE); }