summaryrefslogtreecommitdiff
path: root/gcc/gencodes.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-22 11:52:05 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-22 11:52:05 +0000
commit6ddc722331790cc947592eba5cfdd99a9c3dac28 (patch)
treeb60ad00ba29af3795f484be69dc78a2f26eb70d7 /gcc/gencodes.c
parent28e438735bd9c0d404a6ddeeebc3ad0e1a3fe88d (diff)
downloadgcc-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.c2
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);