[cleanup] Fix warnings

This fixes several warnings that show up in the CI, mostly due to unused variable and typedefs.

Merge request reports

Loading