On Fri Apr 12 09:59:52 2024 +0000, Zhiyi Zhang wrote:
This is just moving `mode` around. If you keep it at the old place, the diff would be cleaner.
I think this makes it clearer that the mode variable is only used for this loop. It was used in the function scope before, only to initialize the current mode, and that was confusing.