| commit | 6074e6b0944ba7d60199895b025a56f1396c0f40 | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Mon Dec 11 23:19:11 2017 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Mon Dec 11 23:19:11 2017 +0000 |
| tree | 5589733b0cf7637b314b3dae0c4f32ee8ea5f06d | |
| parent | fe4d904917fbeda1421e73cf746f26b047bb14f8 [diff] [blame] |
Remove redundant local variables. llvm-svn: 320436
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp index 1ba07df..97ec262 100644 --- a/lld/wasm/Driver.cpp +++ b/lld/wasm/Driver.cpp
@@ -143,8 +143,7 @@ } static void printHelp(const char *Argv0) { - WasmOptTable Table; - Table.PrintHelp(outs(), Argv0, "LLVM Linker", false); + WasmOptTable().PrintHelp(outs(), Argv0, "LLVM Linker", false); } WasmOptTable::WasmOptTable() : OptTable(OptInfo) {}