Getting rid of warnings before branch