From: Tom Tromey <tom@tromey.com>
To: Aaron Merey via Gdb-patches <gdb-patches@sourceware.org>
Cc: Aaron Merey <amerey@redhat.com>
Subject: Re: [PATCH] gdb/linespec.c: Fix -Wmaybe-uninitialized warning
Date: Mon, 09 Jan 2023 10:10:38 -0700 [thread overview]
Message-ID: <87fscjab1t.fsf@tromey.com> (raw)
In-Reply-To: <20230107004941.589074-1-amerey@redhat.com> (Aaron Merey via Gdb-patches's message of "Fri, 6 Jan 2023 19:49:41 -0500")
>>>>> "Aaron" == Aaron Merey via Gdb-patches <gdb-patches@sourceware.org> writes:
Aaron> Although the bool want_start_sal isn't actually used without being assigned
Aaron> a value, initialize it to be false in order to prevent the following
Aaron> -Wmaybe-uninitialized warning:
Thanks, this is ok.
I think normally we allow these little uninitialized warning fixes under
the obvious rule.
Tom
next prev parent reply other threads:[~2023-01-09 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-07 0:49 Aaron Merey
2023-01-09 17:10 ` Tom Tromey [this message]
2023-01-10 1:16 ` Aaron Merey
2023-01-10 2:53 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fscjab1t.fsf@tromey.com \
--to=tom@tromey.com \
--cc=amerey@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).