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