Re: quiet compiler warnings about uninitialized variables
David Levine <[email protected]> Wed, 04 Jun 2025 22:29:45 -0400
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
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. David