Remove some dead assignements found by scan-build
[oota-llvm.git] / lib / Transforms / Instrumentation / DataFlowSanitizer.cpp
index 8a662aaac2f1c3726394c89174ca8deefcb1a946..0249df1c6d8378d9d5f23d33072de966c0a9a197 100644 (file)
@@ -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;
 }