diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-07-02 06:05:22 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-07-02 06:05:22 -0700 |
commit | 41df7940c9b3f2dab508529e1a27f41fea6dc4e9 (patch) | |
tree | a3a015c25017e4215eb8a408cb8a3802960053ff | |
parent | 428b4c73e7b2f3d11311463990251499ac424218 (diff) | |
download | txr-41df7940c9b3f2dab508529e1a27f41fea6dc4e9.tar.gz txr-41df7940c9b3f2dab508529e1a27f41fea6dc4e9.tar.bz2 txr-41df7940c9b3f2dab508529e1a27f41fea6dc4e9.zip |
struct: wasteful double creation of slot_type_hash.
* struct.c (struct_init): Delete uselessly repeated statement
that generates a garbage hash object.
-rw-r--r-- | struct.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -144,7 +144,6 @@ void struct_init(void) struct_type_hash = make_hash(nil, nil, nil); slot_hash = make_hash(nil, nil, t); slot_type_hash = make_hash(nil, nil, nil); - slot_type_hash = make_hash(nil, nil, nil); static_slot_type_hash = make_hash(nil, nil, nil); struct_type_finalize_f = func_n1(struct_type_finalize); |