vars_prev is lazily initialized (D_LIST will be true when the variable display is enabled for the first time).
vars_prev
show_vars will be false on first run, so none of that code is relevant.
Commenting it out doesn’t work.