X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/871a6908a5277bea86977a36756910b928784ceb..606588b4e908a214dd957b0754e260958aacd93f:/scripts/config/confdata.c 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);