Hello Paul,
LGTM. OK for mainline and, I suggest, backporting to 16-branch at least.
Committed as r17-2878-g6bf6dad534766300376dec6d093d49b89a452ea1 .
Backporting is not needed since the warning is new in gcc-17.
Thanks for the review!
Best regards
Thomas
