remove unused pragma warnings