[Analyzer] Remove warning caused by commit `rGe22ace8ba2b0`

This commit is contained in:
Adam Balogh 2020-06-09 15:45:43 +02:00
parent 665dbe91f2
commit 54f9ddd806
1 changed files with 0 additions and 3 deletions

View File

@ -23,9 +23,6 @@ class TestReturnValueUnderConstructionChecker
: public Checker<check::PostCall> {
public:
void checkPostCall(const CallEvent &Call, CheckerContext &C) const {
// We are checking the invocation of `returnC` which returns an object
// by value.
const IdentifierInfo *ID = Call.getCalleeIdentifier();
// Only calls with origin expression are checked. These are `returnC()`
// and C::C().
if (!Call.getOriginExpr())