Deleted unused arguments for main(), replaced return code with named constant.

pull/24/head
Project Nayuki 8 years ago
parent 78d32b455f
commit 43987c0f28

@ -26,6 +26,7 @@
*/ */
#include <cstdint> #include <cstdint>
#include <cstdlib>
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <vector> #include <vector>
@ -41,11 +42,11 @@ static void printQr(const qrcodegen::QrCode &qr);
// The main application program. // The main application program.
int main(int argc, char **argv) { int main() {
doBasicDemo(); doBasicDemo();
doVarietyDemo(); doVarietyDemo();
doSegmentDemo(); doSegmentDemo();
return 0; return EXIT_SUCCESS;
} }

Loading…
Cancel
Save