Fixes -wunused-variable warning PiperOrigin-RevId: 478886333 Change-Id: Ib84def2ddaf6a6860606e78603c2c25865ce2814