menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 18 Oct 2008 20:16:59 +0000 (20:16 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 18 Oct 2008 20:16:59 +0000 (20:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13008 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/config/confdata.c

index c77bef2..271493b 100644 (file)
@@ -230,11 +230,7 @@ int conf_read_file(FILE *in, struct symbol *sym){
                                }
                                break;
                        case yes:
                                }
                                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);
                                break;
                        }
                        cs->user.tri = E_OR(cs->user.tri, sym->user.tri);
This page took 0.029262 seconds and 4 git commands to generate.