[adm8668] mark variables as might be unused
[openwrt.git] / scripts / metadata.pl
index 0f4ae9f..41e6e9c 100755 (executable)
@@ -475,6 +475,7 @@ sub mconf_depends {
                        $flags =~ /@/ or $depend = "PACKAGE_$depend";
                        if ($condition) {
                                if ($m =~ /select/) {
                        $flags =~ /@/ or $depend = "PACKAGE_$depend";
                        if ($condition) {
                                if ($m =~ /select/) {
+                                       next if $depend eq $condition;
                                        $depend = "$depend if $condition";
                                } else {
                                        $depend = "!($condition) || $depend";
                                        $depend = "$depend if $condition";
                                } else {
                                        $depend = "!($condition) || $depend";
This page took 0.019765 seconds and 4 git commands to generate.