Clean up some analyzer warnings.