G6PD and diabetes mellitus: However, certain endocrine and metabolic conditions, such as hyperaldosteronism and diabetes, can inhibit the G6PD enzyme without any genetic defect.