It could have anise, kind of smells like it might, or fish oil in the non-hazardous ingredients, which are priopertary.

WD-40 ingredients Percentage by weight

Aliphatic Hydrocarbon 45-50
Petroleum Base Oil <25
LVP Aliphatic Hydrocarbon 12-18
Carbon Dioxide 2-3
Surfactant <2
Non-Hazardous Ingredients <10