Fixed false positive redundantAssignment when operator() is called (#5568)