Jordan Clark took four wickets to help reduce Warwickshire to 167 for six.
James Anderson’s legendary, record-breaking 22-year international career will end this summer after the bowler held face-to-face talks with the England head coach Brendon McCullum.
The record-breaking seamer will turn 42 in July.