Use a temporary variable for 'map->type' to make the expressions in the following patches more readable. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- evaluate.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/evaluate.c b/evaluate.c index 95aef4dc0758..cf40eed418b4 100644 --- a/evaluate.c +++ b/evaluate.c @@ -3293,9 +3293,11 @@ static struct symbol *evaluate_generic_selection(struct expression *expr) return NULL; for (map = expr->map; map; map = map->next) { - if (!evaluate_symbol(map->type)) + struct symbol *stype = map->type; + + if (!evaluate_symbol(stype)) continue; - if (!type_selection(ctrl, map->type)) + if (!type_selection(ctrl, stype)) continue; res = map->expr; -- 2.27.0