forked from OSchip/llvm-project
Use the Arg variable rather than re-computing it. This also silences GCC's
unused variable warning. llvm-svn: 95085
This commit is contained in:
parent
03c4848bf4
commit
173bfe477b
|
@ -685,7 +685,7 @@ public:
|
|||
assert(CGM.getContext().hasSameUnqualifiedType(Ty, Arg->getType()) &&
|
||||
"argument to copy ctor is of wrong type");
|
||||
|
||||
return Visit(E->getArg(0));
|
||||
return Visit(Arg);
|
||||
}
|
||||
|
||||
return CGM.EmitNullConstant(Ty);
|
||||
|
|
Loading…
Reference in New Issue