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 | a344411316164d4acaf645459b63bc9f9562c2cf (patch) | |
tree | a3a015c25017e4215eb8a408cb8a3802960053ff /struct.c | |
parent | 4e6f86a1ce67142c3f21ac60fdddcbc6fb6c3a22 (diff) | |
download | txr-a344411316164d4acaf645459b63bc9f9562c2cf.tar.gz txr-a344411316164d4acaf645459b63bc9f9562c2cf.tar.bz2 txr-a344411316164d4acaf645459b63bc9f9562c2cf.zip |
struct: wasteful double creation of slot_type_hash.
* struct.c (struct_init): Delete uselessly repeated statement
that generates a garbage hash object.
Diffstat (limited to 'struct.c')
-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); |