summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2018-04-29 02:01:34 +0000
committerwhitequark <whitequark@whitequark.org>2018-04-29 02:01:34 +0000
commitb18cd6d1d162dc9804961742a673cde433c192f5 (patch)
treedfc1eea81a4e7a7956c5c7422a0e2cf89236ad27 /llvm/tools/llvm-c-test
parentab0f3fddc83cc5b48d3d058c42ad52d43366c798 (diff)
downloadbcm5719-llvm-b18cd6d1d162dc9804961742a673cde433c192f5.tar.gz
bcm5719-llvm-b18cd6d1d162dc9804961742a673cde433c192f5.zip
[LLVM-C] Eliminate an unused variable in a test.
This was introduced in r331123 and broke -Werror bots. llvm-svn: 331132
Diffstat (limited to 'llvm/tools/llvm-c-test')
-rw-r--r--llvm/tools/llvm-c-test/debuginfo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c
index 0c3410d949e..8bbe2b6d98f 100644
--- a/llvm/tools/llvm-c-test/debuginfo.c
+++ b/llvm/tools/llvm-c-test/debuginfo.c
@@ -45,9 +45,8 @@ int llvm_test_dibuilder(void) {
LLVMMetadataRef ImportedModule =
LLVMDIBuilderCreateImportedModuleFromModule(DIB, Module, OtherModule,
File, 42);
- LLVMMetadataRef AliasImportedModule =
- LLVMDIBuilderCreateImportedModuleFromAlias(DIB, Module, ImportedModule,
- File, 42);
+ LLVMDIBuilderCreateImportedModuleFromAlias(DIB, Module, ImportedModule,
+ File, 42);
LLVMMetadataRef Int64Ty =
LLVMDIBuilderCreateBasicType(DIB, "Int64", 5, 64, 0);
OpenPOWER on IntegriCloud