standard: Clean warnings

Just enough cleaning to get rid of all those warnings.
Et avec #922 ?