menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target

SVN-Revision: 13008
lede-17.01
Felix Fietkau 2008-10-18 20:16:59 +00:00
parent cd35be21af
commit fa6b452873
1 changed files with 1 additions and 5 deletions

View File

@ -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);