From bd531eb941b71ebd97623f24ae31b0763bab0c54 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 9 Nov 2017 21:24:11 +0100 Subject: allnoconfig.py: s/while 1/while True/ Pointless as an optimization here. Should restrict obfuscating micro-optimization to the library code too even where it helps. --- examples/allnoconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/allnoconfig.py b/examples/allnoconfig.py index 127c60d..dcff3f9 100644 --- a/examples/allnoconfig.py +++ b/examples/allnoconfig.py @@ -46,7 +46,7 @@ for sym in kconf.defined_syms: if sym.is_allnoconfig_y: sym.set_value(2) -while 1: +while True: # Changing later symbols in the configuration can sometimes allow earlier # symbols to be lowered, e.g. if a later symbol 'select's an earlier # symbol. To handle such situations, we do additional passes over the tree -- cgit v1.2.3