Revert "Deleted some warnings"

This reverts commit 592c4ff7cf2b73a1c385c70b08cd4fe1bb8c8af2.
Revert "Revert "Deleted some warnings""

This reverts commit b51e3e4c4c655186fc09fc106ce96e46ed2a9cca.