I also can confirm that this silences the compiler warning of GCC 16.1.1.
(tested with pg19_beta1, but should be the same on stable branches like 18.4)
No further tests here.
Hans Buschmann