compiler warning about unused typdef