Find used variables also from function parameters