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

Loading…
Cancel
Save