Nitpicking.

This commit is contained in:
Daniel Lemire 2020-06-23 22:07:40 -04:00
parent e01f1434fb
commit 470cbbe9ff
2 changed files with 2 additions and 1 deletions

View File

@ -132,6 +132,7 @@ cat <<< '
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
if(argc < 2) { if(argc < 2) {
std::cerr << "Please specify at least one file name. " << std::endl; std::cerr << "Please specify at least one file name. " << std::endl;
return EXIT_FAILURE;
} }
const char * filename = argv[1]; const char * filename = argv[1];
simdjson::dom::parser parser; simdjson::dom::parser parser;

View File

@ -6,6 +6,7 @@
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
if(argc < 2) { if(argc < 2) {
std::cerr << "Please specify at least one file name. " << std::endl; std::cerr << "Please specify at least one file name. " << std::endl;
return EXIT_FAILURE;
} }
const char * filename = argv[1]; const char * filename = argv[1];
simdjson::dom::parser parser; simdjson::dom::parser parser;
@ -42,4 +43,3 @@ int main(int argc, char *argv[]) {
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }