From 68f0eeff83985a767e2e26522f8978d90ae858a6 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 20 Sep 2018 17:48:44 +0000 Subject: Fix warnings. llvm-svn: 342670 --- llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp') diff --git a/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp b/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp index de0f888137f..311c3859acf 100644 --- a/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp @@ -200,7 +200,6 @@ TpiStream::findFullDeclForForwardRef(TypeIndex ForwardRefTI) const { if (!ForwardTRH) return ForwardTRH.takeError(); - TagRecordHash Copy = std::move(*ForwardTRH); uint32_t BucketIdx = ForwardTRH->FullRecordHash % Header->NumHashBuckets; for (TypeIndex TI : HashMap[BucketIdx]) { -- cgit v1.2.3