public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Patch for warning in stabs.c
@ 2001-08-28 21:59 Ben Elliston
  2001-08-29  0:01 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Elliston @ 2001-08-28 21:59 UTC (permalink / raw)
  To: binutils

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Patch for warning in stabs.c
  2001-08-28 21:59 Patch for warning in stabs.c Ben Elliston
@ 2001-08-29  0:01 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2001-08-29  0:01 UTC (permalink / raw)
  To: Ben Elliston; +Cc: binutils

On Wed, Aug 29, 2001 at 02:58:55PM +1000, Ben Elliston wrote:
> 2001-08-29  Ben Elliston  <bje@redhat.com>
> 
> 	* stabs.c (stab_demangle_template): Initialise s4.

OK.

-- 
Alan Modra

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-29  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-28 21:59 Patch for warning in stabs.c Ben Elliston
2001-08-29  0:01 ` Alan Modra

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).