Add warnings about no-effect operations.