Removed redundant semicolons and re-added the warning