diff options
author | Richard Henderson <rth@cygnus.com> | 1999-01-22 03:52:05 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-01-22 03:52:05 -0800 |
commit | 09d83d2522985920496e2965d613fee818c34120 (patch) | |
tree | b60ad00ba29af3795f484be69dc78a2f26eb70d7 /gcc/genattrtab.c | |
parent | 2747111309f15faea860f79897ba70bc5c1bef81 (diff) | |
download | gcc-09d83d2522985920496e2965d613fee818c34120.zip gcc-09d83d2522985920496e2965d613fee818c34120.tar.gz gcc-09d83d2522985920496e2965d613fee818c34120.tar.bz2 |
cppp.c (xrealloc): Fix typo last change.
* cppp.c (xrealloc): Fix typo last change.
* cppalloc.c, gcc.c, genattr.c, genattrtab.c, gencodes.c: Likewise.
* genconfig.c, genemit.c, genextract.c, genflags.c: Likewise.
* genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
From-SVN: r24823
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 87f5c7a..523d073 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -5758,7 +5758,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); |