missing return

self-hosting
MoAlyousef 4 years ago
parent a53aa34036
commit c306fc01d0

@ -8,5 +8,6 @@ int main(int argc, char **argv) try {
auto output = cmkr::args::handle_args(argc, argv); auto output = cmkr::args::handle_args(argc, argv);
return fprintf(stdout, "%s\n", output) < 0 ? EXIT_FAILURE : EXIT_SUCCESS; return fprintf(stdout, "%s\n", output) < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
} catch (const std::exception &e) { } catch (const std::exception &e) {
fprintf(stderr, "%s\n", e.what()); (void)fprintf(stderr, "%s\n", e.what());
} return EXIT_FAILURE;
}

Loading…
Cancel
Save