Fix minor GCC warnings.

Unused typedefs and unused variables.