From c97727a49268408ae2ead1b00705000adf2fd9f6 Mon Sep 17 00:00:00 2001 From: "Arnaud A. de Grandmaison" Date: Fri, 21 Mar 2014 21:54:46 +0000 Subject: Remove some dead assignements found by scan-build llvm-svn: 204526 --- llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp') diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index 8a662aaac2f..0249df1c6d8 100644 --- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp @@ -850,7 +850,6 @@ Value *DataFlowSanitizer::combineShadows(Value *V1, Value *V2, PHINode *Phi = PHINode::Create(ShadowTy, 2, "", Tail->begin()); Phi->addIncoming(Call, Call->getParent()); Phi->addIncoming(V1, Head); - Pos = Phi; return Phi; } -- cgit v1.2.3