public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ben Elliston <bje@redhat.com>
To: binutils@sources.redhat.com
Subject: Patch for warning in stabs.c
Date: Tue, 28 Aug 2001 21:59:00 -0000	[thread overview]
Message-ID: <15244.30351.205547.733308@scooby.brisbane.redhat.com> (raw)

This patch corrects a long-standing warning in stabs.c.  Okay to
commit?

2001-08-29  Ben Elliston  <bje@redhat.com>

	* stabs.c (stab_demangle_template): Initialise s4.

Index: stabs.c
===================================================================
RCS file: /cvs/src/src/binutils/stabs.c,v
retrieving revision 1.7
diff -u -c -r1.7 stabs.c
*** stabs.c	2001/01/24 02:34:07	1.7
--- stabs.c	2001/08/29 04:57:39
***************
*** 4461,4467 ****
       regular demangling routine.  */
    if (pname != NULL)
      {
!       char *s1, *s2, *s3, *s4;
        char *from, *to;
  
        s1 = savestring (orig, *pp - orig);
--- 4461,4467 ----
       regular demangling routine.  */
    if (pname != NULL)
      {
!       char *s1, *s2, *s3, *s4 = NULL;
        char *from, *to;
  
        s1 = savestring (orig, *pp - orig);

             reply	other threads:[~2001-08-28 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-28 21:59 Ben Elliston [this message]
2001-08-29  0:01 ` Alan Modra

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=15244.30351.205547.733308@scooby.brisbane.redhat.com \
    --to=bje@redhat.com \
    --cc=binutils@sources.redhat.com \
    /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).