Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: src/main.cpp

Issue 1494753003: cleanup main (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: eliminate uneeded include Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/main.cpp
diff --git a/src/main.cpp b/src/main.cpp
index fa5bb069442a39baf351fa3c1f97daf56741593c..bef3d84fbc7097ba5756eb91f76e3f55dd01c0a1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -14,7 +14,6 @@
//===----------------------------------------------------------------------===//
#include "IceBrowserCompileServer.h"
-#include "IceCompiler.h"
#include "IceCompileServer.h"
int main(int argc, char **argv) {
@@ -28,11 +27,9 @@ int main(int argc, char **argv) {
(void)argc;
(void)argv;
Ice::BrowserCompileServer Server(Comp);
- Server.run();
- return Server.getErrorCode().value();
#else // !PNACL_BROWSER_TRANSLATOR
Jim Stichnoth 2015/12/04 18:09:05 We've generally tried to avoid conditional (#if) c
Ice::CLCompileServer Server(Comp, argc, argv);
+#endif // !PNACL_BROWSER_TRANSLATOR
Server.run();
return Server.getErrorCode().value();
-#endif // !PNACL_BROWSER_TRANSLATOR
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698