Remove the (argc > 0) condition since argc is always 1 or higher

This commit is contained in:
Username404 2021-09-28 21:42:13 +02:00
parent 02e8de7243
commit 8f60e7052f
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 62 additions and 64 deletions

View File

@ -15,7 +15,6 @@ int main(int argc, char* argv[]) {
bool parallel = false; bool parallel = false;
bool newLines = true; bool newLines = true;
if (argc > 0) {
set<string_view> files; set<string_view> files;
for (signed int i = 0; i < argc; ++i) for (signed int i = 0; i < argc; ++i)
{ {
@ -80,6 +79,5 @@ int main(int argc, char* argv[]) {
cout << "\n\n"; cout << "\n\n";
} }
} else cout << "No valid file provided.\n"; } else cout << "No valid file provided.\n";
}
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }