summaryrefslogtreecommitdiff
path: root/tools/gold/gold-plugin.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-05-04 19:13:01 +0000
committerDuncan Sands <baldrick@free.fr>2011-05-04 19:13:01 +0000
commit2abb82b1d3bc31d75b7c03d76f7343d450f7b394 (patch)
tree59bb3569a25657a4613a9e31cc4a64618cd03a6b /tools/gold/gold-plugin.cpp
parent96169b189ca75e22f297a62a77aaf0dc4832f4a5 (diff)
downloadllvm-2abb82b1d3bc31d75b7c03d76f7343d450f7b394.tar.gz
llvm-2abb82b1d3bc31d75b7c03d76f7343d450f7b394.tar.bz2
llvm-2abb82b1d3bc31d75b7c03d76f7343d450f7b394.tar.xz
Remove an unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold/gold-plugin.cpp')
-rw-r--r--tools/gold/gold-plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp
index dd66eae261..9e43bef31f 100644
--- a/tools/gold/gold-plugin.cpp
+++ b/tools/gold/gold-plugin.cpp
@@ -408,7 +408,6 @@ static ld_plugin_status all_symbols_read_hook(void) {
if (options::generate_bc_file == options::BC_ONLY)
exit(0);
}
- size_t bufsize = 0;
const char *objPath;
if (lto_codegen_compile_to_file(code_gen, &objPath)) {
(*message)(LDPL_ERROR, "Could not produce a combined object file\n");