[llvm] c4c98c1 - Removed redundant code.
Alex Orlov via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 6 18:37:59 PDT 2021
Author: Alex Orlov
Date: 2021-04-07T05:37:46+04:00
New Revision: c4c98c1b0a0c276475fdbd895aa21a85d23352e4
URL: https://github.com/llvm/llvm-project/commit/c4c98c1b0a0c276475fdbd895aa21a85d23352e4
DIFF: https://github.com/llvm/llvm-project/commit/c4c98c1b0a0c276475fdbd895aa21a85d23352e4.diff
LOG: Removed redundant code.
Added:
Modified:
llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp b/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
index f70558a5ab74b..c250f3997f1f2 100644
--- a/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
+++ b/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
@@ -868,7 +868,6 @@ static void pdb2Yaml(StringRef Path) {
auto &File = loadPDB(Path, Session);
auto O = std::make_unique<YAMLOutputStyle>(File);
- O = std::make_unique<YAMLOutputStyle>(File);
ExitOnErr(O->dump());
}
More information about the llvm-commits
mailing list