diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-22 11:52:05 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-22 11:52:05 +0000 |
commit | 6ddc722331790cc947592eba5cfdd99a9c3dac28 (patch) | |
tree | b60ad00ba29af3795f484be69dc78a2f26eb70d7 /gcc/genflags.c | |
parent | 28e438735bd9c0d404a6ddeeebc3ad0e1a3fe88d (diff) | |
download | gcc-6ddc722331790cc947592eba5cfdd99a9c3dac28.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24823 138bc75d-0d04-0410-961f-82ee72b054a4
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 e09a73d26ea..a87b08de287 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); |