aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/parse_kconfig/parse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/parse_kconfig/parse.c b/scripts/parse_kconfig/parse.c
index 7d6bf3f..0ac99f9 100644
--- a/scripts/parse_kconfig/parse.c
+++ b/scripts/parse_kconfig/parse.c
@@ -97,7 +97,8 @@ void cpy_dep() {
Iprintf("Direct:\n");
if (verbose_level > 2)
cnf_printf(el->be);
- }
+ } else
+ el->be = NULL;
if (sym->rev_dep.expr != NULL) {
if (verbose_level > 3)
printf_original(gsymlist, sym->rev_dep.expr);
@@ -106,7 +107,8 @@ void cpy_dep() {
Iprintf("Revers:\n");
if (verbose_level > 2)
cnf_printf(el->re_be);
- }
+ } else
+ el->re_be = NULL;
}
}
}