c++: Remove redundant code.
authorJason Merrill <jason@redhat.com>
Mon, 11 May 2020 18:05:46 +0000 (14:05 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 11 May 2020 19:09:24 +0000 (15:09 -0400)
commitf3f9cc41a1a793375a9fff09bfb7a103ce259e07
treeedeb2d87ef2bbfba8d45ee224690a6737567fc8c
parent08434b02e2903c60517f64f3bc3070992001d3b5
c++: Remove redundant code.

We walk the lambda captures in cp_walk_subtrees, so we don't also need to
walk them here.

gcc/cp/ChangeLog
2020-05-11  Jason Merrill  <jason@redhat.com>

* pt.c (find_parameter_packs_r) [LAMBDA_EXPR]: Remove redundant
walking of capture list.
gcc/cp/ChangeLog
gcc/cp/pt.c