[LLVM-C] Eliminate an unused variable in a test.
authorwhitequark <whitequark@whitequark.org>
Sun, 29 Apr 2018 02:01:34 +0000 (02:01 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 29 Apr 2018 02:01:34 +0000 (02:01 +0000)
This was introduced in r331123 and broke -Werror bots.

llvm-svn: 331132

llvm/tools/llvm-c-test/debuginfo.c

index 0c3410d..8bbe2b6 100644 (file)
@@ -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);