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

This commit is contained in:
Project Nayuki 2017-02-25 19:24:56 +00:00
parent 78d32b455f
commit 43987c0f28
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}