removed a few unused variables in vaht_resource.c