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) {
void fatalErrorHandler(void *UserData, const std::string &Reason,
bool GenCrashDialog) {
(void)GenCrashDialog;
BrowserCompileServer *Server =
reinterpret_cast<BrowserCompileServer *>(UserData);
Server->setFatalError(Reason);
......
......@@ -24,6 +24,7 @@ int main(int argc, char **argv) {
// There are no real commandline arguments in the browser case.
// They are supplied via IPC.
assert(argc == 1);
(void)argc;
(void)argv;
Ice::BrowserCompileServer Server(Comp);
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