remove failure on warnings so the release build works

Change-Id: I60d7c0e04b8541f48349f82f34a9483a02f51db3