Yes , to avoid declare those variable if not used .However , in some cases, for example if ((gstate.materialupdate & 4) == 0) , will break graphic in some games and that's why it is comment out . I think it is the case for if ((gstate.materialupdate & 2) == 0) in some games as well .