harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6b47f370477d05dbd0fb7aa89052159367a4de2b
parent 6df6c08d9dcba8d7bd6fe4c314aa0373b702ba50
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Mon, 16 Aug 2021 21:33:24 +0000

type_store_lookup_alias: minor simplification

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

Diffstat:
Msrc/type_store.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/type_store.c b/src/type_store.c @@ -831,8 +831,7 @@ type_store_lookup_alias(struct type_store *store, } alias.flags = secondary->flags; alias.alias.type = secondary; - struct type *type = (struct type *)type_store_lookup_type(store, &alias); - return type; + return type_store_lookup_type(store, &alias); } const struct type *