That change just slows down the code without any benefit since the variables are not used if enableMultithread_ is not true. If it is true, all three variables are set.