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/genflags.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/genflags.c')
-rw-r--r-- | gcc/genflags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c index e09a73d..a87b08d 100644 --- a/gcc/genflags.c +++ b/gcc/genflags.c @@ -193,7 +193,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); |