Clean up warnings
Description
There are some warnings that appear during compilation.
Proposal
Fix them when possible and add a strict rule regarding warnings on the CI
How to test the implementation?
CI fails when warnings are issued, passes when they are fixed.
Related issues
See #