summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index f378dc5..93dc577 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2813,12 +2813,13 @@ class Symbol(object):
self._cached_tri_val = 0
return 0
- val = 0
# Warning: See Symbol._rec_invalidate(), and note that this is a hidden
# function call (property magic)
vis = self.visibility
self._write_to_conf = (vis != 0)
+ val = 0
+
if not self.choice:
# Non-choice symbol