Commit 871b97fd by Jan Voung

Small fixes for unused argument warnings w/ Makefile.standalone "sb" target.

BUG=none R=jpp@chromium.org, kschimpf@google.com Review URL: https://codereview.chromium.org/1219883003.
parent 6ec369eb
...@@ -101,6 +101,7 @@ std::unique_ptr<llvm::raw_fd_ostream> getOutputStream(int FD) { ...@@ -101,6 +101,7 @@ std::unique_ptr<llvm::raw_fd_ostream> getOutputStream(int FD) {
void fatalErrorHandler(void *UserData, const std::string &Reason, void fatalErrorHandler(void *UserData, const std::string &Reason,
bool GenCrashDialog) { bool GenCrashDialog) {
(void)GenCrashDialog;
BrowserCompileServer *Server = BrowserCompileServer *Server =
reinterpret_cast<BrowserCompileServer *>(UserData); reinterpret_cast<BrowserCompileServer *>(UserData);
Server->setFatalError(Reason); Server->setFatalError(Reason);
......
...@@ -24,6 +24,7 @@ int main(int argc, char **argv) { ...@@ -24,6 +24,7 @@ int main(int argc, char **argv) {
// There are no real commandline arguments in the browser case. // There are no real commandline arguments in the browser case.
// They are supplied via IPC. // They are supplied via IPC.
assert(argc == 1); assert(argc == 1);
(void)argc;
(void)argv; (void)argv;
Ice::BrowserCompileServer Server(Comp); Ice::BrowserCompileServer Server(Comp);
Server.run(); Server.run();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment