Fix compilation warnings

Exposed by change in compilation flags in the nightlies (cherry picked from commit 4a769e1d)

Merge request reports

Loading