Fixing several compiler warnings (unused and
possibly used uninitialized things).