Disable compile warning: no newline at end of file

Also disable compile error: statement with no effect