Removed function body on same line check