Re: quiet compiler warnings about uninitialized variables
David Levine <[email protected]> Sun, 22 Jun 2025 09:53:36 -0400
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
I wrote: > Stephen wrote: > > > gcc 13.3 with flag -Og complains that some variables may be used > > uninitialized. My own analysis says the warnings are benign and > > the code correct, but it would be nice to quiet these warnings. > > I don't see the warning on mhparse.c with gcc 15.0.1. And I don't see it on post.c with a few optimization settings other than -Og. This looks like a compiler issue, though I'm not opposed to adding the initializations. Patch applied. Thank you, Stephen. David