ENGINES: Fix some compiler warnings #3140
@mparnaudeau : Thanks for these fixes. I was already looking at these, but you have pretty much the same changes I was intending. One point, can you split these into a commit per engine please? This makes future bisection much easier as the changes are not really related.