[Olena-patches] milena r1397: Fix warnings