Fix some scan-build warnings