Fix some warnings

This patch fixes a couple of dumb warnings.