Doctors are warning patients who use weight-loss drugs that it could cause serious risks under anesthesia.