fix warnings, disable empty statement warning by default