Removed unneeded comparison
Fixed newline error of astyle