Fix warnings.

Lots of uninitialized, unused variable warnings.

Signed-off-by: Evan McClain <aeroevan@gmail.com>