diff options
Diffstat (limited to 'cpp/src/slice2objc/Main.cpp')
-rw-r--r-- | cpp/src/slice2objc/Main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/src/slice2objc/Main.cpp b/cpp/src/slice2objc/Main.cpp index 7877c072ca0..24ac096d92c 100644 --- a/cpp/src/slice2objc/Main.cpp +++ b/cpp/src/slice2objc/Main.cpp @@ -80,7 +80,6 @@ usage(const string& n) " deprecated: use instead [[\"ice-prefix\"]] metadata.\n" "--underscore Allow underscores in Slice identifiers\n" " deprecated: use instead [[\"underscore\"]] metadata.\n" - "--no-warn Disable all warnings.\n" ; // Note: --case-sensitive is intentionally not shown here! } @@ -106,7 +105,6 @@ compile(const vector<string>& argv) opts.addOpt("", "ice"); opts.addOpt("", "underscore"); opts.addOpt("", "case-sensitive"); - opts.addOpt("", "no-warn"); bool validate = find(argv.begin(), argv.end(), "--validate") != argv.end(); @@ -175,8 +173,6 @@ compile(const vector<string>& argv) bool underscore = opts.isSet("underscore"); - int warningLevel = opts.isSet("no-warn") ? 0 : 1; - if(args.empty()) { consoleErr << argv[0] << ": no input file" << endl; @@ -289,8 +285,7 @@ compile(const vector<string>& argv) { try { - Gen gen(argv[0], icecpp->getBaseName(), include, includePaths, output, dllExport, - warningLevel); + Gen gen(argv[0], icecpp->getBaseName(), include, includePaths, output, dllExport); if(!gen) { u->destroy(); |