Fix indentation and compiler warning