Skip to content
Snippets Groups Projects
user avatar
Masahiro Yamada authored
sym_is_choice(sym) has already been checked by previous if-block:

    if (sym_is_choice(sym) || (sym->flags & SYMBOL_NO_WRITE))
            continue;

Hence, the following code is redundant, and the comment is misleading:

    if (!sym_is_choice(sym))
            continue;
    /* fall through */

It always takes 'continue', never falls though.

Clean up the dead code.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
e3cd5136
History
Name Last commit Last update