unused variable, typedef requires name warning cleanup