jnikula / hawkmoth

Hawkmoth - Sphinx Autodoc for C
https://jnikula.github.io/hawkmoth/
BSD 2-Clause "Simplified" License
74 stars 12 forks source link

parser: remove useless if #229

Closed stephanlachnit closed 1 year ago

stephanlachnit commented 1 year ago

No need to first check if the kind is in a list and then check which of the two items it is.

jnikula commented 1 year ago

Thanks! Leftovers from (or, made possible by!) the refactors.