From a344411316164d4acaf645459b63bc9f9562c2cf Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 2 Jul 2020 06:05:22 -0700 Subject: struct: wasteful double creation of slot_type_hash. * struct.c (struct_init): Delete uselessly repeated statement that generates a garbage hash object. --- struct.c | 1 - 1 file changed, 1 deletion(-) diff --git a/struct.c b/struct.c index 2da353d6..e8a862a7 100644 --- a/struct.c +++ b/struct.c @@ -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); -- cgit v1.2.3