summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorErik Naggum <erik@naggum.no>1995-10-08 02:56:45 +0000
committerErik Naggum <erik@naggum.no>1995-10-08 02:56:45 +0000
commit50429f5fd5442ff6407fdc227fa92c9c23ea7d54 (patch)
tree33f74c8bee713c04498168ca0edb4104ec6f4eed /src/alloc.c
parentf876cd2a4ecc8695a9d3d3ff39ac640ab791a376 (diff)
downloademacs-50429f5fd5442ff6407fdc227fa92c9c23ea7d54.tar.gz
(Fmake_char_table): Initialize parent to nil.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index a428ac2c2f1..e747afd59cb 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -771,6 +771,7 @@ See `char-table-extra-slot' and `set-char-table-extra-slot'.")
/* Add 2 to the size for the defalt and parent slots. */
vector = Fmake_vector (make_number (CHAR_TABLE_STANDARD_SLOTS + XINT (n)),
init);
+ XCHAR_TABLE (vector)->parent = Qnil;
XSETCHAR_TABLE (vector, XCHAR_TABLE (vector));
return vector;
}