X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/871a6908a5277bea86977a36756910b928784ceb..c72e01bd9de5aa7a8af4331006877fe881641d23:/scripts/config/confdata.c?ds=inline diff --git a/scripts/config/confdata.c b/scripts/config/confdata.c index c77bef2e2..271493bc7 100644 --- a/scripts/config/confdata.c +++ b/scripts/config/confdata.c @@ -230,11 +230,7 @@ int conf_read_file(FILE *in, struct symbol *sym){ } break; case yes: - if (cs->user.tri != no) { - conf_warning("%s creates inconsistent choice state", sym->name); - cs->flags |= SYMBOL_NEW; - } else - cs->user.val = sym; + cs->user.val = sym; break; } cs->user.tri = E_OR(cs->user.tri, sym->user.tri);