Fixed a couple of compiler warnings.

- anonymous types declared in an anonymous union are an extension
- unused parameters