On Wed, Feb 25, 2026 at 02:10:18PM +0100, Rene Kita wrote:
On Wed, Feb 25, 2026 at 01:13:53PM +0100, Alejandro Colomar via Mutt-dev wrote:
I've now checked the code, and we don't write to it, so the solution
would be to declare 'tz' to be const, I think.

        -struct tz_t *tz;
        +const struct tz_t *tz;

I can confirm that this builds without warnings.

Thanks!  I will push my revised patch along with your assert removal in
just a moment.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to