An appellate court has upheld a decision protecting pharmaceutical companies from a product liability lawsuit over warning labels.